It seems like Yii::app->request->post() can also be of type object; however, parameter $data of yii\base\Model::load() does only seem to accept array, maybe add an additional type check?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
15
if ($model->load(/** @scrutinizer ignore-type */ Yii::$app->request->post()) && $model->save()) {