1 | <?php |
||
17 | class Ability |
||
18 | { |
||
19 | /** |
||
20 | * The Guard implementation. |
||
21 | * |
||
22 | * @var Guard |
||
23 | */ |
||
24 | protected $authService; |
||
25 | |||
26 | /** |
||
27 | * Create a new filter instance. |
||
28 | * |
||
29 | * @param \Longman\Platfourm\Contracts\Auth\AuthUserService $authService |
||
30 | */ |
||
31 | public function __construct(AuthUserServiceContract $authService) |
||
35 | |||
36 | /** |
||
37 | * Handle an incoming request. |
||
38 | * |
||
39 | * @param \Illuminate\Http\Request $request |
||
40 | * @param Closure $next |
||
41 | * @param $roles |
||
42 | * @param $permissions |
||
43 | * @param bool $validateAll |
||
44 | * @return mixed |
||
45 | */ |
||
46 | public function handle($request, Closure $next, $roles, $permissions, $validateAll = false) |
||
63 | } |
||
64 |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..