| 1 | <?php namespace JobApis\JobsToMail\Http\Middleware; |
||
| 6 | class UpdateSessionUser |
||
| 7 | { |
||
| 8 | /** |
||
| 9 | * @var UserRepositoryInterface |
||
| 10 | */ |
||
| 11 | public $users; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * UpdateSessionUser constructor. |
||
| 15 | * |
||
| 16 | * @param UserRepositoryInterface $users |
||
| 17 | */ |
||
| 18 | 2 | public function __construct(UserRepositoryInterface $users) |
|
| 22 | |||
| 23 | /** |
||
| 24 | * Run the request filter. |
||
| 25 | * |
||
| 26 | * @param \Illuminate\Http\Request $request |
||
| 27 | * @param \Closure $next |
||
| 28 | * @return mixed |
||
| 29 | */ |
||
| 30 | 2 | public function handle($request, Closure $next) |
|
| 41 | } |
||
| 42 |
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.