proboje zrobic logowanie w yii2 i mam pewien problem a mianowicie w linijce, jestem nowy w php jak i w yii2
_return Yii::$app->user->login($this->getUser(), $this->rememberMe ? 3600 * 24 * 30 : 0);
php wyswietla mi komunikat
,,Expected
_return Yii::$app->user->login($this->getUser(), $this->rememberMe ? 3600 * 24 * 30 : 0);
php wyswietla mi komunikat
,,Expected











this->getUser() instanceof \yii\web\IdentityInterface