| Total Complexity | 3 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | class Authorize |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * Handle the incoming request. |
||
| 12 | * |
||
| 13 | * @param \Illuminate\Http\Request $request |
||
| 14 | * @param \Closure $next |
||
| 15 | * @return \Illuminate\Http\Response |
||
| 16 | */ |
||
| 17 | 2 | public function handle($request, $next) |
|
| 22 | } |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Determine whether this tool belongs to the package. |
||
| 26 | * |
||
| 27 | * @param \Laravel\Nova\Tool $tool |
||
| 28 | * @return bool |
||
| 29 | */ |
||
| 30 | 2 | public function matchesTool($tool) |
|
| 35 |