Conditions | 2 |
Paths | 2 |
Total Lines | 13 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
40 | public function run() |
||
41 | { |
||
42 | $searchClass = $this->searchClass; |
||
43 | /* @var $searchModel \yii\db\ActiveRecordInterface */ |
||
44 | $searchModel = new $searchClass(); |
||
45 | $dataProvider = $searchModel->search( |
||
|
|||
46 | Yii::$app->request->queryParams, |
||
47 | $this->formName |
||
48 | ); |
||
49 | $this->checkAccess($searchModel, Yii::$app->request->getQueryParams()); |
||
50 | |||
51 | return $dataProvider ?: $searchModel; |
||
52 | } |
||
53 | } |
||
54 |
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.