Browse Source

Minor change for Core\Container

Visman 4 years ago
parent
commit
f549d2dc7f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Core/Container.php

+ 1 - 1
app/Core/Container.php

@@ -79,7 +79,7 @@ class Container
             $toShare = false;
             $toShare = false;
             $config  = (array) $this->multiple[$id];
             $config  = (array) $this->multiple[$id];
         } else {
         } 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
         // N.B. "class" is just the first element, regardless of its key
         $class = \array_shift($config);
         $class = \array_shift($config);