Ver código fonte

Minor change for Core\Container

Visman 4 anos atrás
pai
commit
f549d2dc7f
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      app/Core/Container.php

+ 1 - 1
app/Core/Container.php

@@ -79,7 +79,7 @@ class Container
             $toShare = false;
             $config  = (array) $this->multiple[$id];
         } else {
-            throw new InvalidArgumentException('Wrong property name: ' . $id);
+            throw new InvalidArgumentException("Wrong property name: {$id}");
         }
         // N.B. "class" is just the first element, regardless of its key
         $class = \array_shift($config);