| 1 | <?php |
||
| 12 | class Create extends Action |
||
| 13 | { |
||
| 14 | use LoadFileTrait; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @var string the scenario to be assigned to the new model before it is validated and saved. |
||
| 18 | */ |
||
| 19 | public $scenario = Model::SCENARIO_DEFAULT; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Creates a new model. |
||
| 23 | * @return \yii\db\ActiveRecordInterface the model newly created |
||
| 24 | * @throws ServerErrorHttpException if there is any error when creating the model |
||
| 25 | */ |
||
| 26 | public function run() |
||
| 52 | } |
||
| 53 |
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.