diff --git a/src/Controller/Component/AclComponent.php b/src/Controller/Component/AclComponent.php index 2e2f9af3..65d7f06f 100644 --- a/src/Controller/Component/AclComponent.php +++ b/src/Controller/Component/AclComponent.php @@ -70,7 +70,7 @@ public function __construct(ComponentRegistry $collection, array $config = []) if (!class_exists($className)) { $className = App::className('Acl.' . $name, 'Adapter'); if (!$className) { - throw new Exception(sprintf('Could not find {0}.', [$name])); + throw new Exception(sprintf('Could not find %s.', $name)); } } $this->adapter($className);