ErrorException
Undefined array key "middleware"
at vendor/icodestuff/ladocumenter/src/LaDocumenter.php:48
44▕ $routes = collect($this->router->getRoutes()->getRoutes());
45▕
46▕ return $routes->map(function (Route $route){
47▕ // Remove if the middleware isn't an array.
➜ 48▕ if (!is_array($route->action['middleware'])) {
49▕ return false;
50▕ }
51▕
52▕ // Remove if the route is not using the api middleware.
2 [internal]:0
Icodestuff\LaDocumenter\LaDocumenter::Icodestuff\LaDocumenter{closure}()
20 artisan:37
Illuminate\Foundation\Console\Kernel::handle()
ErrorException
Undefined array key "middleware"
at vendor/icodestuff/ladocumenter/src/LaDocumenter.php:48
44▕ $routes = collect($this->router->getRoutes()->getRoutes());
45▕
46▕ return $routes->map(function (Route $route){
47▕ // Remove if the middleware isn't an array.
➜ 48▕ if (!is_array($route->action['middleware'])) {
49▕ return false;
50▕ }
51▕
52▕ // Remove if the route is not using the api middleware.
2 [internal]:0
Icodestuff\LaDocumenter\LaDocumenter::Icodestuff\LaDocumenter{closure}()
20 artisan:37
Illuminate\Foundation\Console\Kernel::handle()