brandon14/brand0n.gg

View on GitHub
app/Http/Middleware/Authenticate.php

Summary

Maintainability
A
0 mins
Test Coverage

Class extends undeclared class \Illuminate\Auth\Middleware\Authenticate
Open

class Authenticate extends Middleware
Severity: Critical
Found in app/Http/Middleware/Authenticate.php by phan

Call to method expectsJson from undeclared class \Illuminate\Http\Request
Open

        if (! $request->expectsJson()) {
Severity: Critical
Found in app/Http/Middleware/Authenticate.php by phan

Call to undeclared function \route()
Open

            return route('login');
Severity: Critical
Found in app/Http/Middleware/Authenticate.php by phan

Parameter $request has undeclared type \Illuminate\Http\Request
Open

    protected function redirectTo($request)
Severity: Minor
Found in app/Http/Middleware/Authenticate.php by phan

There are no issues that match your filters.

Category
Status