[Container] Added function array_unique on getServiceIds to return only one service name
This commit is contained in:
parent
ea021062ba
commit
7ed8ea25d8
@ -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