unexpected token in base.blade.php
I got
Syntax error: unexpected token ':'
in the base.blade.php
vendor file, line 103: @filamentScripts(withCore: true)
.
Apparently it does not affect any parts of the app, afaik. Is it something I should try to fix or just ignore it in my VSCode Problems panel?Solution:Jump to solution
Either VSC/your Blade plugin doesn't understand PHP8.0 or you need to set the language level somewhere.
1 Reply
Solution
Either VSC/your Blade plugin doesn't understand PHP8.0 or you need to set the language level somewhere.