Skip to content

Commit 4fe97ed

Browse files
authored
Merge pull request #158 from vmikhav/fix/fix-component-constructor
Fix component's constructor error message
2 parents 1a18f78 + 06fa2a7 commit 4fe97ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Controller/Component/AclComponent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public function __construct(ComponentRegistry $collection, array $config = [])
7070
if (!class_exists($className)) {
7171
$className = App::className('Acl.' . $name, 'Adapter');
7272
if (!$className) {
73-
throw new Exception(sprintf('Could not find {0}.', [$name]));
73+
throw new Exception(sprintf('Could not find %s.', $name));
7474
}
7575
}
7676
$this->adapter($className);

0 commit comments

Comments
 (0)