Commit 74f5d64f authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

[FIX] Appel de ContainerInterface::has() avec un int plus toléré, normal !

parent 5b2d9556
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -120,7 +120,7 @@ class MessageConfigNormalizer

        // Si la spécification est le nom d'un service connu du service locator,
        // la spécification devient le service lui-même.
        if ($this->serviceLocator && $this->serviceLocator->has($specification)) {
        if (is_string($specification) && $this->serviceLocator && $this->serviceLocator->has($specification)) {
            return $this->serviceLocator->get($specification);
        }