Route error

Posted 1 year ago by csbonito

Hello I'm new to Laravel and I already got a Tiny problem

When Im declaring my route:

Route::get('statisticB', [ 'uses' => '[email protected]', 'as' => 'DocMatri' ]);

and I list the routes a I have (php Artisan route:list)

I get the next error:

[Symfony\Component\Debug\Exception\FatalErrorException] syntax error, unexpected 'list' (T_LIST)

I run php Artisan route:list -v and get the same error.

Any ideas whats going on?

Thank you

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.