From 06fa2a736e84ac23811ed4119ad51b7da164b883 Mon Sep 17 00:00:00 2001 From: Volodymyr Mikhav Date: Fri, 14 Jun 2019 00:01:02 +0300 Subject: [PATCH] fix error message --- src/Controller/Component/AclComponent.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);