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.



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1P6P6iQ
via IFTTT

Aucun commentaire:

Enregistrer un commentaire