Преглед изворни кода

Minor change for Core\Container

Visman пре 4 година
родитељ
комит
f549d2dc7f
1 измењених фајлова са 1 додато и 1 уклоњено
  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);