| Conditions | 1 |
| Paths | 1 |
| Total Lines | 3 |
| Code Lines | 1 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 2 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 78 | 1 | public static function deleteAllByRole(Roles $role): bool |
|
| 79 | { |
||
| 80 | 1 | return (bool) self::find('roles_id = ' . $role->getId())->delete(); |
|
|
1 ignored issue
–
show
|
|||
| 81 | } |
||
| 93 |