| Total Complexity | 3 |
| Total Lines | 47 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | class SettingController extends Controller |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * Show all the settings. |
||
| 18 | * |
||
| 19 | * @return View |
||
| 20 | */ |
||
| 21 | public function index(): View |
||
| 36 | } |
||
| 37 | |||
| 38 | /** |
||
| 39 | * Update the settings. |
||
| 40 | * |
||
| 41 | * @param Settings $settings |
||
| 42 | * @param Request $request |
||
| 43 | * |
||
| 44 | * @return RedirectResponse |
||
| 45 | */ |
||
| 46 | public function update(Settings $settings, Request $request) |
||
| 63 |
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.