Syntax Error Message on Visual Studio Code |
Hi,
I've been getting the following error message in visual code when editing app->Config->App.php file: syntax error, unexpected 'string' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST) [{ "resource": "/C:/laragon/www/myapp/app/Config/App.php", "owner": "_generated_diagnostic_collection_name_#0", "severity": 8, "message": "syntax error, unexpected 'string' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)", "startLineNumber": 21, "startColumn": 6, "endLineNumber": 21, "endColumn": 1.7976931348623157e+308 }] Visual Studio Code ver 1.80.1 CodeIgniter version 4.3.6 OS : Windows 10 PHP version : 8.1.10 Error screenshot Please advise. Thanks.
There is a syntax error.
Revert the change. See https://github.com/codeigniter4/CodeIgni...ig/App.php |
Welcome Guest, Not a member yet? Register Sign In |