Reputation: 131
i am using Laravel 5.2 and PHP 7.3.12. and everything was working fine but today whenever i write any artisan command in laravel it gives this error:
[Symfony\Component\Debug\Exception\FatalThrowableError] Parse error: syntax error, unexpected ':'
i don't understand why its giving this error because last night it was working fine.
Upvotes: 0
Views: 487
Reputation: 4813
There must be No extra space " "
between :
and list
php artisan route:list
Upvotes: 2