Completed
Push — master ( 8b82a7...1f5d0b )
by Andrii
07:10
created
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 1 patch
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.
src/components/I18N.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -11,8 +11,6 @@
 block discarded – undo
11 11
 
12 12
 namespace hipanel\actions;
13 13
 
14
-use Yii;
15
-
16 14
 /**
17 15
  * Class PrepareAjaxViewAction.
18 16
  */
Please login to merge, or discard this patch.
src/helpers/StringHelper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
      * @param string $currency      A currency code (e.g. "EUR").
56 56
      * @param string|null $locale   Optional.
57 57
      *
58
-     * @return string|null The currency symbol or NULL if not found.
58
+     * @return string The currency symbol or NULL if not found.
59 59
      */
60 60
     public static function getCurrencySymbol($currency, $locale = null)
61 61
     {
Please login to merge, or discard this patch.
src/widgets/ActionBox.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -182,6 +182,9 @@
 block discarded – undo
182 182
         $this->endBulkActions();
183 183
     }
184 184
 
185
+    /**
186
+     * @param string $action
187
+     */
185 188
     public function renderBulkButton($text, $action, $color = 'default')
186 189
     {
187 190
         return Html::submitButton($text, [
Please login to merge, or discard this patch.
src/widgets/Label.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -78,6 +78,9 @@
 block discarded – undo
78 78
         }
79 79
     }
80 80
 
81
+    /**
82
+     * @param string $baseClass
83
+     */
81 84
     public function buildOptions($options, $baseClass = null)
82 85
     {
83 86
         return ArrayHelper::merge(['class' => $this->buildClass($baseClass)], $options);
Please login to merge, or discard this patch.