Minor change for Core\Container

This commit is contained in:
Visman 2021-03-20 22:18:19 +07:00
parent 621c7f5e0d
commit f549d2dc7f

View file

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