Completed
Branch master (a1edd4)
by
unknown
54:09
created
src/base/traits/InputAddonTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -124,7 +124,7 @@
 block discarded – undo
124 124
      * Setup or extend the groupOptions
125 125
      *
126 126
      * @param string $name
127
-     * @param mixed $value
127
+     * @param string $value
128 128
      * @param boolean $extend [optional] default false
129 129
      * @return void
130 130
      */
Please login to merge, or discard this patch.
src/forms/ActiveForm.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -232,6 +232,9 @@
 block discarded – undo
232 232
     }
233 233
 
234 234
 
235
+    /**
236
+     * @param string $currentPosition
237
+     */
235 238
     protected function renderActions($currentPosition)
236 239
     {
237 240
         $position = ArrayHelper::getValue($this->buttons, 'position', self::BUTTONS_POSITION_BOTTOM);
Please login to merge, or discard this patch.
src/forms/FormBuilder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -842,7 +842,7 @@
 block discarded – undo
842 842
      * @param array $icon
843 843
      * @param array $tooltip
844 844
      * @param array $addon
845
-     * @param false|array $allowClear
845
+     * @param boolean $allowClear
846 846
      * @return ActiveField
847 847
      */
848 848
     private function getInput($field, $type, $params = null, $label = null, $hint = null, $icon = null, $tooltip = null, $addon = null, $allowClear = null)
Please login to merge, or discard this patch.
src/rbac/RbacCached.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
 
94 94
     /**
95 95
      * Set a value in cache
96
-     * @param $key
96
+     * @param string $key
97 97
      * @param $value
98 98
      * @return mixed
99 99
      */
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
 
108 108
     /**
109 109
      * Get cached value
110
-     * @param $key
110
+     * @param string $key
111 111
      * @return mixed
112 112
      */
113 113
     protected function getCache($key) {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
9 9
 
10 10
 namespace fangface\rbac;
11 11
 
12
-use Yii;
13 12
 use yii\rbac\DbManager;
14 13
 use yii\helpers\ArrayHelper;
15 14
 
Please login to merge, or discard this patch.
src/widgets/BootstrapSelect.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,6 @@
 block discarded – undo
17 17
 use backend\assets\BootstrapSelectAsset;
18 18
 use fangface\widgets\InputWidget;
19 19
 use fangface\helpers\Html;
20
-use yii\helpers\ArrayHelper;
21 20
 
22 21
 
23 22
 /**
Please login to merge, or discard this patch.
src/widgets/BootstrapSelectSplitter.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,6 @@
 block discarded – undo
17 17
 use backend\assets\BootstrapSelectSplitterAsset;
18 18
 use fangface\widgets\InputWidget;
19 19
 use fangface\helpers\Html;
20
-use yii\helpers\ArrayHelper;
21 20
 
22 21
 
23 22
 /**
Please login to merge, or discard this patch.
src/widgets/InputWidget.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -16,9 +16,7 @@
 block discarded – undo
16 16
 
17 17
 use fangface\base\traits\InputAddonTrait;
18 18
 use fangface\forms\ActiveForm;
19
-use fangface\forms\ActiveField;
20 19
 use fangface\widgets\WidgetTrait;
21
-use yii\widgets\ActiveField as YiiActiveField;
22 20
 use yii\widgets\InputWidget as YiiInputWidget;
23 21
 
24 22
 
Please login to merge, or discard this patch.
src/widgets/MultiSelect.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,6 @@
 block discarded – undo
17 17
 use backend\assets\MultiSelectAsset;
18 18
 use fangface\widgets\InputWidget;
19 19
 use fangface\helpers\Html;
20
-use yii\helpers\ArrayHelper;
21 20
 
22 21
 
23 22
 /**
Please login to merge, or discard this patch.
src/widgets/WidgetTrait.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -106,6 +106,9 @@
 block discarded – undo
106 106
         $this->pluginOptions = array_merge($this->defaultPluginOptions, $this->pluginOptions);
107 107
     }
108 108
 
109
+    /**
110
+     * @param string $content
111
+     */
109 112
     protected function findSectionsToRender($content)
110 113
     {
111 114
         $content = preg_replace_callback("/{\\w+}/", function ($matches) {
Please login to merge, or discard this patch.