Skip to content

Commit

Permalink
fix error message
Browse files Browse the repository at this point in the history
  • Loading branch information
vmikhav committed Jun 13, 2019
1 parent 1a18f78 commit 06fa2a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controller/Component/AclComponent.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 06fa2a7

Please sign in to comment.