Completed
Push — master ( 342ffa...2ca792 )
by Andrii
05:25
created
src/widgets/Select2.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,6 @@
 block discarded – undo
16 16
 use yii\helpers\ArrayHelper;
17 17
 use yii\helpers\Html;
18 18
 use yii\helpers\Json;
19
-use yii\helpers\Url;
20 19
 use yii\web\JsExpression;
21 20
 
22 21
 class Select2 extends Widget
Please login to merge, or discard this patch.
src/widgets/BulkButtons.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -12,8 +12,6 @@
 block discarded – undo
12 12
 namespace hipanel\widgets;
13 13
 
14 14
 use yii\base\Widget;
15
-use yii\helpers\Html;
16
-use yii\helpers\Json;
17 15
 
18 16
 class BulkButtons extends Widget
19 17
 {
Please login to merge, or discard this patch.
src/base/OrientationStorage.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -13,9 +13,6 @@
 block discarded – undo
13 13
 
14 14
 use Yii;
15 15
 use yii\base\Component;
16
-use yii\caching\Cache;
17
-use yii\di\Instance;
18
-use yii\web\Session;
19 16
 
20 17
 class OrientationStorage extends Component
21 18
 {
Please login to merge, or discard this patch.
src/controllers/SiteController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,6 @@
 block discarded – undo
18 18
 use Yii;
19 19
 use yii\base\InvalidParamException;
20 20
 use yii\filters\AccessControl;
21
-use yii\filters\VerbFilter;
22 21
 use yii\web\BadRequestHttpException;
23 22
 use yii\web\Controller;
24 23
 
Please login to merge, or discard this patch.
models/File.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
     }
41 41
 
42 42
     /**
43
-     * @return array
43
+     * @return string[]
44 44
      */
45 45
     public function attributes()
46 46
     {
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
     }
90 90
 
91 91
     /**
92
-     * @param $temp_name
92
+     * @param string $temp_name
93 93
      * @return string
94 94
      */
95 95
     private static function getTmpUrl($temp_name)
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
     }
107 107
 
108 108
     /**
109
-     * @param $file
109
+     * @param string|boolean $file
110 110
      * @param null $file_id
111 111
      * @param null $object_id
112 112
      * @return array|bool
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 
12 12
 namespace common\models;
13 13
 
14
-use hipanel\base\Err;
15 14
 use Yii;
16 15
 use yii\helpers\FileHelper;
17 16
 use yii\helpers\Url;
Please login to merge, or discard this patch.
src/behaviors/File.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,6 @@
 block discarded – undo
21 21
 use common\models\File as FileModel;
22 22
 use yii\base\Behavior;
23 23
 use yii\db\BaseActiveRecord;
24
-use yii\helpers\FileHelper;
25 24
 use yii\web\UploadedFile;
26 25
 
27 26
 class File extends Behavior
Please login to merge, or discard this patch.