Completed
Push — master ( 7e41ab...266f87 )
by Dmitry
29:13 queued 14:19
created
src/actions/ProxyAction.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
     }
54 54
 
55 55
     /**
56
-     * @return bool|string
56
+     * @return false|string
57 57
      */
58 58
     public function getPjaxUrl()
59 59
     {
Please login to merge, or discard this patch.
src/actions/SwitchRule.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,6 +82,9 @@  discard block
 block discarded – undo
82 82
         return $this->switch->controller->runAction($action);
83 83
     }
84 84
 
85
+    /**
86
+     * @param string $postfix
87
+     */
85 88
     public function run($postfix = null)
86 89
     {
87 90
         return $this->runAction($postfix);
@@ -91,7 +94,7 @@  discard block
 block discarded – undo
91 94
      * Setter for action. Saves the action to the controller.
92 95
      *
93 96
      * @param mixed $action action config.
94
-     * @param null $postfix
97
+     * @param string $postfix
95 98
      */
96 99
     public function setAction($action, $postfix = null)
97 100
     {
Please login to merge, or discard this patch.
src/grid/CurrencyColumn.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -35,11 +35,18 @@
 block discarded – undo
35 35
 
36 36
     public $urlCallback;
37 37
 
38
+    /**
39
+     * @param string $type
40
+     */
38 41
     public function getColor($type)
39 42
     {
40 43
         return $this->colors[$type] ?: $type;
41 44
     }
42 45
 
46
+    /**
47
+     * @param Model $model
48
+     * @param integer $index
49
+     */
43 50
     public function getUrl($model, $key, $index)
44 51
     {
45 52
         return $this->urlCallback ? call_user_func($this->urlCallback, $model, $key, $index) : null;
Please login to merge, or discard this patch.
src/widgets/Gravatar.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -34,6 +34,9 @@
 block discarded – undo
34 34
         return $this->_emailHash;
35 35
     }
36 36
 
37
+    /**
38
+     * @param string $email
39
+     */
37 40
     public static function hashEmail($email)
38 41
     {
39 42
         $email = strtolower(trim($email));
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/actions/ClassValuesAction.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 namespace hipanel\actions;
13 13
 
14 14
 use hiqdev\hiart\Collection;
15
-use Closure;
16 15
 use Yii;
17 16
 
18 17
 /**
Please login to merge, or discard this patch.
src/base/Controller.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,6 @@
 block discarded – undo
16 16
 use hiqdev\hiart\ActiveRecord;
17 17
 use Yii;
18 18
 use yii\di\Instance;
19
-use yii\filters\AccessControl;
20 19
 use yii\helpers\Inflector;
21 20
 use yii\web\NotFoundHttpException;
22 21
 
Please login to merge, or discard this patch.
Doc Comments   +6 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,6 @@  discard block
 block discarded – undo
50 50
     protected $_internalActions;
51 51
 
52 52
     /**
53
-     * @param string $submodel the submodel that will be added to the ClassName
54 53
      * @return string Main Model class name
55 54
      */
56 55
     public static function modelClassName()
@@ -181,11 +180,17 @@  discard block
 block discarded – undo
181 180
         return $this->render('index');
182 181
     }
183 182
 
183
+    /**
184
+     * @param string $id
185
+     */
184 186
     public function setInternalAction($id, $action)
185 187
     {
186 188
         $this->_internalActions[$id] = $action;
187 189
     }
188 190
 
191
+    /**
192
+     * @param string $id
193
+     */
189 194
     public function hasInternalAction($id)
190 195
     {
191 196
         return array_key_exists($id, $this->_internalActions);
Please login to merge, or discard this patch.
src/models/Ref.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -45,6 +45,10 @@
 block discarded – undo
45 45
         return $result;
46 46
     }
47 47
 
48
+    /**
49
+     * @param string $name
50
+     * @param string $translate
51
+     */
48 52
     public static function findCached($name, $translate = null, $options = [])
49 53
     {
50 54
         if ($translate === null) {
Please login to merge, or discard this patch.
src/widgets/RedirectFormRenderer.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 hipanel\modules\mailing\renderers\AbstractRedirectFormRenderer;
6 6
 use yii\helpers\Html;
7
-use yii\web\JsExpression;
8 7
 
9 8
 class RedirectFormRenderer extends AbstractRedirectFormRenderer
10 9
 {
Please login to merge, or discard this patch.