| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 30 | public function handle() |
||
| 31 | { |
||
| 32 | Cache::forget('routes'); |
||
| 33 | Cache::forget('excluded-action-list'); |
||
| 34 | Cache::forget('route-actions'); |
||
| 35 | Cache::forget('public-routes'); |
||
| 36 | $model = resolve('userModel'); |
||
| 37 | $model->chunk(100, function ($users) { |
||
|
|
|||
| 38 | $users->each(function ($user) { |
||
| 39 | RemoveUserMenuCache::dispatch($user); |
||
| 40 | }); |
||
| 41 | }); |
||
| 42 | |||
| 43 | $this->info('Menu caches cleared!'); |
||
| 44 | } |
||
| 46 |
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.