| Total Complexity | 2 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | class HandleInertiaRequests extends Middleware |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * The root template that is loaded on the first page visit. |
||
| 12 | * |
||
| 13 | * @var string |
||
| 14 | */ |
||
| 15 | protected $rootView = 'app'; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * Determine the current asset version. |
||
| 19 | */ |
||
| 20 | public function version(Request $request): string|null |
||
| 23 | } |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Define the props that are shared by default. |
||
| 27 | * |
||
| 28 | * @return array<string, mixed> |
||
| 29 | */ |
||
| 30 | public function share(Request $request): array |
||
| 40 |
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.