Skip to content

Commit bd3f472

Browse files
committed
release version 2.0.55
1 parent 6d30e9d commit bd3f472

5 files changed

Lines changed: 2 additions & 8 deletions

File tree

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
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",

models/ContactForm.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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
*/

models/LoginForm.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,14 @@
1212
* LoginForm is the model behind the login form.
1313
*
1414
* @property-read User|null $user
15-
*/
15+
*
1616
class 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);

models/User.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff 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
*/

widgets/Alert.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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
*/

0 commit comments

Comments
 (0)