dimanche 31 janvier 2016

NetBeans : giving syntax error in laravel 5.2

Following is the snippet of code from Kernel.php in laravel.

 protected $middleware = [
            \Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode::class,
        ];

Netbeans says

Syntax error
     unexpected:    class
     after: ::
     expected:  identifier

POSSIBLE Syntax Error (check preceding valid syntax error)
 unexpected:

What's going on ? underline on whole line is irritating me.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire