Completed
Push — master ( 782aac...d29ed6 )
by Igor
03:37
created
models/forms/SignupForm.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Yii;
6 6
 use app\models\User;
7
-use app\models\UserProfile;
8 7
 
9 8
 class SignupForm extends \yii\base\Model
10 9
 {
Please login to merge, or discard this patch.
models/User.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -470,7 +470,7 @@  discard block
 block discarded – undo
470 470
      * Finds user by password reset token
471 471
      *
472 472
      * @param string $token password reset token
473
-     * @return app\models\User|null
473
+     * @return null|User
474 474
      */
475 475
     public static function findByPasswordResetToken($token)
476 476
     {
@@ -497,7 +497,7 @@  discard block
 block discarded – undo
497 497
      * Finds user by confirm email token
498 498
      *
499 499
      * @param string $token confirm email token
500
-     * @return app\models\User|null
500
+     * @return null|User
501 501
      */
502 502
     public static function findByEmailConfirmToken($token)
503 503
     {
@@ -531,7 +531,7 @@  discard block
 block discarded – undo
531 531
      * Finds user by username
532 532
      *
533 533
      * @param string $username
534
-     * @return app\models\User|null
534
+     * @return User|null
535 535
      */
536 536
     public static function findByUsername($username)
537 537
     {
@@ -542,7 +542,7 @@  discard block
 block discarded – undo
542 542
      * Finds user by email
543 543
      *
544 544
      * @param string $email
545
-     * @return app\models\User|null
545
+     * @return User|null
546 546
      */
547 547
     public static function findByEmail($email)
548 548
     {
Please login to merge, or discard this patch.
modules/admin/views/news/index.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,5 @@
 block discarded – undo
1 1
 <?php
2 2
 use yii\helpers\Html;
3
-use yii\helpers\ArrayHelper;
4 3
 use yii\grid\CheckboxColumn;
5 4
 use yii\grid\GridView;
6 5
 use kartik\date\DatePicker;
Please login to merge, or discard this patch.
modules/admin/controllers/common/DeleteAction.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,9 +2,7 @@
 block discarded – undo
2 2
 
3 3
 namespace app\modules\admin\controllers\common;
4 4
 
5
-use Yii;
6 5
 use yii\base\Action;
7
-use yii\web\Response;
8 6
 use app\traits\ModelTrait;
9 7
 
10 8
 class DeleteAction extends Action
Please login to merge, or discard this patch.
modules/admin/controllers/common/OperationsAction.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Yii;
6 6
 use yii\base\Action;
7
-use yii\web\Response;
8 7
 
9 8
 class OperationsAction extends Action
10 9
 {
Please login to merge, or discard this patch.
modules/admin/controllers/common/UpdateAttributesAction.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,9 +2,7 @@
 block discarded – undo
2 2
 
3 3
 namespace app\modules\admin\controllers\common;
4 4
 
5
-use Yii;
6 5
 use yii\base\Action;
7
-use yii\web\Response;
8 6
 use app\traits\ModelTrait;
9 7
 
10 8
 class UpdateAttributesAction extends Action
Please login to merge, or discard this patch.
modules/admin/controllers/NewsController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace app\modules\admin\controllers;
4 4
 
5 5
 use Yii;
6
-use yii\web\Response;
7 6
 use yii\filters\VerbFilter;
8 7
 use yii\helpers\Url;
9 8
 use app\traits\ModelTrait;
Please login to merge, or discard this patch.
modules/admin/controllers/RolesController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace app\modules\admin\controllers;
4 4
 
5 5
 use Yii;
6
-use yii\web\Response;
7 6
 use yii\filters\VerbFilter;
8 7
 use yii\helpers\Url;
9 8
 use yii\helpers\ArrayHelper;
Please login to merge, or discard this patch.
modules/admin/controllers/SettingsController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace app\modules\admin\controllers;
4 4
 
5 5
 use Yii;
6
-use yii\web\Response;
7 6
 use app\traits\ModelTrait;
8 7
 use app\modules\admin\models\forms\SettingsForm;
9 8
 
Please login to merge, or discard this patch.