@@ -3,8 +3,8 @@ |
||
| 3 | 3 | namespace modules\users\models; |
| 4 | 4 | |
| 5 | 5 | use Yii; |
| 6 | -use yii\base\Model; |
|
| 7 | 6 | use modules\users\Module; |
| 7 | +use yii\base\Model; |
|
| 8 | 8 | |
| 9 | 9 | /** |
| 10 | 10 | * Class LoginForm |
@@ -2,12 +2,11 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace modules\users\widgets\profile\aboutMeBox; |
| 4 | 4 | |
| 5 | -use Yii; |
|
| 6 | -use yii\base\Widget; |
|
| 7 | -use yii\helpers\Url; |
|
| 8 | -use yii\helpers\ArrayHelper; |
|
| 5 | +use Yii; |
|
| 6 | +use modules\users\models\User; |
|
| 7 | +use yii\base\Widget; |
|
| 8 | +use yii\helpers\ArrayHelper; |
|
| 9 | 9 | use yii\helpers\Html; |
| 10 | -use modules\users\models\User; |
|
| 11 | 10 | |
| 12 | 11 | /** |
| 13 | 12 | * Class AboutMeBoxWidget |
@@ -2,11 +2,11 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace modules\users\widgets\profile\profileImage; |
| 4 | 4 | |
| 5 | -use Yii; |
|
| 6 | -use yii\base\Widget; |
|
| 7 | -use yii\helpers\ArrayHelper; |
|
| 5 | +use Yii; |
|
| 6 | +use modules\users\models\User; |
|
| 7 | +use yii\base\Widget; |
|
| 8 | +use yii\helpers\ArrayHelper; |
|
| 8 | 9 | use yii\helpers\Html; |
| 9 | -use modules\users\models\User; |
|
| 10 | 10 | |
| 11 | 11 | /** |
| 12 | 12 | * Class ProfileImageWidget |
@@ -2,12 +2,11 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace modules\users\widgets\profile\tabsBox; |
| 4 | 4 | |
| 5 | -use Yii; |
|
| 6 | -use yii\base\Widget; |
|
| 7 | -use yii\helpers\Url; |
|
| 8 | -use yii\helpers\ArrayHelper; |
|
| 5 | +use Yii; |
|
| 6 | +use modules\users\models\User; |
|
| 7 | +use yii\base\Widget; |
|
| 8 | +use yii\helpers\ArrayHelper; |
|
| 9 | 9 | use yii\helpers\Html; |
| 10 | -use modules\users\models\User; |
|
| 11 | 10 | |
| 12 | 11 | /** |
| 13 | 12 | * Class TabsBoxWidget |
@@ -2,14 +2,14 @@ |
||
| 2 | 2 | namespace modules\rbac\controllers\backend; |
| 3 | 3 | |
| 4 | 4 | use Yii; |
| 5 | +use modules\rbac\Module; |
|
| 5 | 6 | use modules\rbac\models\Assignment; |
| 7 | +use yii\base\InvalidConfigException; |
|
| 6 | 8 | use yii\data\ArrayDataProvider; |
| 7 | -use yii\web\Controller; |
|
| 8 | -use yii\filters\VerbFilter; |
|
| 9 | 9 | use yii\filters\AccessControl; |
| 10 | -use yii\base\InvalidConfigException; |
|
| 10 | +use yii\filters\VerbFilter; |
|
| 11 | +use yii\web\Controller; |
|
| 11 | 12 | use yii\web\NotFoundHttpException; |
| 12 | -use modules\rbac\Module; |
|
| 13 | 13 | |
| 14 | 14 | /** |
| 15 | 15 | * Class AssignController |
@@ -2,11 +2,11 @@ |
||
| 2 | 2 | namespace modules\users\commands; |
| 3 | 3 | |
| 4 | 4 | use Yii; |
| 5 | +use console\components\helpers\Console; |
|
| 5 | 6 | use modules\users\models\User; |
| 6 | 7 | use yii\base\Model; |
| 7 | 8 | use yii\console\Controller; |
| 8 | 9 | use yii\console\Exception; |
| 9 | -use console\components\helpers\Console; |
|
| 10 | 10 | |
| 11 | 11 | /** |
| 12 | 12 | * Class UsersController |
@@ -311,7 +311,7 @@ discard block |
||
| 311 | 311 | } |
| 312 | 312 | |
| 313 | 313 | /** |
| 314 | - * @return array |
|
| 314 | + * @return string[] |
|
| 315 | 315 | */ |
| 316 | 316 | public static function getStatusesArray() |
| 317 | 317 | { |
@@ -324,7 +324,7 @@ discard block |
||
| 324 | 324 | } |
| 325 | 325 | |
| 326 | 326 | /** |
| 327 | - * @return mixed |
|
| 327 | + * @return string |
|
| 328 | 328 | */ |
| 329 | 329 | public function getStatusName() |
| 330 | 330 | { |
@@ -342,7 +342,7 @@ discard block |
||
| 342 | 342 | } |
| 343 | 343 | |
| 344 | 344 | /** |
| 345 | - * @return array |
|
| 345 | + * @return string[] |
|
| 346 | 346 | */ |
| 347 | 347 | public static function getLabelsArray() |
| 348 | 348 | { |
@@ -384,7 +384,7 @@ discard block |
||
| 384 | 384 | |
| 385 | 385 | /** |
| 386 | 386 | * Returns an array of log types |
| 387 | - * @return array |
|
| 387 | + * @return string[] |
|
| 388 | 388 | */ |
| 389 | 389 | public static function getRegistrationTypesArray() |
| 390 | 390 | { |
@@ -3,12 +3,12 @@ |
||
| 3 | 3 | namespace modules\users\models; |
| 4 | 4 | |
| 5 | 5 | use Yii; |
| 6 | +use modules\users\Module; |
|
| 6 | 7 | use yii\behaviors\TimestampBehavior; |
| 7 | 8 | use yii\db\ActiveRecord; |
| 8 | -use yii\web\IdentityInterface; |
|
| 9 | 9 | use yii\helpers\ArrayHelper; |
| 10 | 10 | use yii\helpers\Html; |
| 11 | -use modules\users\Module; |
|
| 11 | +use yii\web\IdentityInterface; |
|
| 12 | 12 | |
| 13 | 13 | /** |
| 14 | 14 | * Class BaseUser |
@@ -2,9 +2,9 @@ |
||
| 2 | 2 | namespace modules\users\models; |
| 3 | 3 | |
| 4 | 4 | use Yii; |
| 5 | +use modules\users\Module; |
|
| 5 | 6 | use yii\base\InvalidParamException; |
| 6 | 7 | use yii\base\Model; |
| 7 | -use modules\users\Module; |
|
| 8 | 8 | |
| 9 | 9 | /** |
| 10 | 10 | * Class EmailConfirmForm |
@@ -2,9 +2,9 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace modules\users\models; |
| 4 | 4 | |
| 5 | -use yii\base\Model; |
|
| 6 | -use yii\base\InvalidParamException; |
|
| 7 | 5 | use modules\users\Module; |
| 6 | +use yii\base\InvalidParamException; |
|
| 7 | +use yii\base\Model; |
|
| 8 | 8 | |
| 9 | 9 | /** |
| 10 | 10 | * Class ResetPasswordForm |