1 | <?php |
||
10 | class Authorize |
||
11 | { |
||
12 | const DELIMITER = '|'; |
||
13 | |||
14 | protected $auth; |
||
15 | |||
16 | /** |
||
17 | * Create a new middleware instance. |
||
18 | * |
||
19 | * @param \Illuminate\Contracts\Auth\Factory $auth |
||
20 | */ |
||
21 | public function __construct(Auth $auth) |
||
25 | |||
26 | /** |
||
27 | * @param \Illuminate\Http\Request $request |
||
28 | * @param Closure $next |
||
29 | * @param string $permissions |
||
30 | * |
||
31 | * @return mixed |
||
32 | * @throws \Illuminate\Auth\Access\AuthorizationException |
||
33 | */ |
||
34 | public function handle($request, Closure $next, $permissions = '') |
||
50 | } |
||
51 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.