浏览代码

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);