Merge remote branch 'Garfield-fr/master'
* Garfield-fr/master: [Container] Added function array_unique on getServiceIds to return only one service name
This commit is contained in:
commit
9a2d4c77c3
@ -256,7 +256,7 @@ class Container implements ContainerInterface
|
||||
}
|
||||
}
|
||||
|
||||
return array_merge($ids, array_keys($this->services));
|
||||
return array_unique(array_merge($ids, array_keys($this->services)));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user