File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212 "irc" : " ircs://irc.libera.chat:6697/yii" ,
1313 "source" : " https://github.com/yiisoft/yii2"
1414 },
15- "minimum-stability" : " dev " ,
15+ "minimum-stability" : " stable " ,
1616 "require" : {
1717 "php" : " >=8.2" ,
1818 "yiisoft/yii2" : " ~2.0.54" ,
Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ class ContactForm extends Model
1717 public string $ subject = '' ;
1818 public string $ body = '' ;
1919 public string $ verifyCode = '' ;
20-
2120 /**
2221 * @return array the validation rules.
2322 */
Original file line number Diff line number Diff line change 1212 * LoginForm is the model behind the login form.
1313 *
1414 * @property-read User|null $user
15- */
15+ *
1616class LoginForm extends Model
1717{
1818 public string $username = '';
1919 public string $password = '';
2020 public bool $rememberMe = true;
21-
2221 private User|null $_user = null;
2322 private bool $_userLoaded = false;
24-
2523 public function __construct(private readonly Security $security, $config = [])
2624 {
2725 parent::__construct($config);
Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ class User extends BaseObject implements IdentityInterface
1414 public string $ passwordHash = '' ;
1515 public string $ authKey = '' ;
1616 public string $ accessToken = '' ;
17-
1817 private static array $ _users = [
1918 '100 ' => [
2019 'id ' => '100 ' ,
@@ -33,7 +32,6 @@ class User extends BaseObject implements IdentityInterface
3332 'accessToken ' => '101-token ' ,
3433 ],
3534 ];
36-
3735 /**
3836 * {@inheritdoc}
3937 */
Original file line number Diff line number Diff line change @@ -46,7 +46,6 @@ class Alert extends \yii\bootstrap5\Widget
4646 * Array will be passed to [[\yii\bootstrap\Alert::closeButton]].
4747 */
4848 public array $ closeButton = [];
49-
5049 /**
5150 * {@inheritdoc}
5251 */
You can’t perform that action at this time.
0 commit comments