Skip to content

Commit 0fe1251

Browse files
committed
refactor: remove unneeded (bool)
1 parent 641c573 commit 0fe1251

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Models/GroupModel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,6 @@ public function isValidGroup(string $group): bool
8181
{
8282
$allowedGroups = array_keys(setting('AuthGroups.groups'));
8383

84-
return (bool) (in_array($group, $allowedGroups, true));
84+
return in_array($group, $allowedGroups, true);
8585
}
8686
}

0 commit comments

Comments
 (0)