Completed
Push — master ( 49fd67...f662d2 )
by Andrii
11:32
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/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.
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.
src/console/TranslateController.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -206,6 +206,9 @@
 block discarded – undo
206 206
         return $translation;
207 207
     }
208 208
 
209
+    /**
210
+     * @param string $dirName
211
+     */
209 212
     protected function saveMessagesToPHPEnhanced($messages, $dirName, $overwrite, $removeUnused, $sort, $language)
210 213
     {
211 214
         foreach ($messages as $category => $msgs) {
Please login to merge, or discard this patch.
src/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/base/OrientationStorage.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 
14 14
 use Yii;
15 15
 use yii\base\Component;
16
-use yii\web\Session;
17 16
 
18 17
 class OrientationStorage extends Component
19 18
 {
Please login to merge, or discard this patch.