| Total Complexity | 1 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 3 | ||
| Bugs | 2 | Features | 0 |
| 1 | <?php |
||
| 12 | class CreateRole extends Command |
||
| 13 | { |
||
| 14 | protected $signature = 'permission:create-role |
||
| 15 | {name : The name of the role} |
||
| 16 | {guard? : The name of the guard} |
||
| 17 | {--permission=* : The name of the permission}'; |
||
| 18 | |||
| 19 | protected $description = 'Create a role'; |
||
| 20 | |||
| 21 | 4 | public function handle() |
|
| 41 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.