Conditions | 1 |
Paths | 1 |
Total Lines | 3 |
Code Lines | 1 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
23 | private function checkIfUserIsAdmin($user) |
||
1 ignored issue
–
show
|
|||
24 | { |
||
25 | return ($user->hasRole('admin')); |
||
26 | } |
||
65 |