| Total Complexity | 1 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | class AuthServiceProvider extends ServiceProvider |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * The policy mappings for the application. |
||
| 13 | * |
||
| 14 | * @var array |
||
| 15 | */ |
||
| 16 | protected $policies = [ |
||
| 17 | '\TaskManager\Tasks' => '\TaskManager\Policies\TasksPolicy' |
||
| 18 | ]; |
||
| 19 | |||
| 20 | |||
| 21 | /** |
||
| 22 | * Register any authentication / authorization services. |
||
| 23 | * |
||
| 24 | * @return void |
||
| 25 | */ |
||
| 26 | public function boot(GateContract $gate) |
||
| 36 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.