The expression return Yii::app->user->identity could return the type null which is incompatible with the type-hinted return object. Consider adding an additional type-check to rule them out.
The expression return Yii::app->user->identity could return the type null which is incompatible with the type-hinted return object. Consider adding an additional type-check to rule them out.
The expression return Yii::app->user->identity could return the type null which is incompatible with the type-hinted return object. Consider adding an additional type-check to rule them out.