Skip to content

Commit afdbfbf

Browse files
committed
PHPStan
1 parent ec95e19 commit afdbfbf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Auth/AclTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,7 @@ protected function _mapped(array $roles) {
640640

641641
$alias = array_keys($availableRoles, $role);
642642
$alias = array_shift($alias);
643-
if (!$alias || !is_string($alias)) {
643+
if (!$alias) {
644644
continue;
645645
}
646646

0 commit comments

Comments
 (0)