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