| 1 | <?php |
||
| 13 | trait ExposePermissions |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * Get all user permissions in a flat array. |
||
| 17 | * |
||
| 18 | * @return array |
||
| 19 | */ |
||
| 20 | public function getCanAttribute() |
||
| 32 | |||
| 33 | /** |
||
| 34 | * Get all user permissions. |
||
| 35 | * |
||
| 36 | * @return \Illuminate\Support\Collection |
||
| 37 | */ |
||
| 38 | public function getAllPermissionsAttribute() |
||
| 42 | } |
This check marks calls to methods that do not seem to exist on an object.
This is most likely the result of a method being renamed without all references to it being renamed likewise.