Skip to content

Commit

Permalink
Merge pull request #8 from php-casbin/analysis-z4B3wn
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
leeqvip committed Dec 4, 2018
2 parents 1ba0b1a + 3ecbc32 commit 36e505a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/RbacApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ public function hasRoleForUser($name, $role)
foreach ($roles as $r) {
if ($r == $role) {
$hasRole = true;

break;
}
}
Expand Down

0 comments on commit 36e505a

Please sign in to comment.