We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | protected function setUp(): void |
||
| 24 | { |
||
| 25 | parent::setUp(); |
||
| 26 | |||
| 27 | $this->app->singleton('crud', function ($app) { |
||
|
|
|||
| 28 | return new CrudPanel($app); |
||
| 29 | }); |
||
| 30 | $this->crudPanel = app('crud'); |
||
| 31 | $this->crudPanel->setModel(TestModel::class); |
||
| 32 | $this->model = $this->crudPanel->getModel(); |
||
| 33 | } |
||
| 57 |
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.