mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
minor change to comply with PSR-11
This commit is contained in:
@@ -46,7 +46,7 @@ class ServiceLocator implements ContainerInterface
|
||||
*/
|
||||
public function get(string $id): mixed
|
||||
{
|
||||
if (!isset($this->aServices[$id])) {
|
||||
if (!$this->has($id)) {
|
||||
throw new NotFoundException("Service ".json_encode($id)." not found");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user