Test Setup Failed
Push — master ( 59c930...9578a4 )
by eXeCUT
14:11
created
action/adapter/Delete.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
     }
37 37
 
38 38
     /**
39
-     * @param $m
39
+     * @param string $m
40 40
      * @return string
41 41
      */
42 42
     protected function translate($m): string
Please login to merge, or discard this patch.
action/adapter/gridView/ModelHelper.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -105,6 +105,9 @@
 block discarded – undo
105 105
         return $columns;
106 106
     }
107 107
 
108
+    /**
109
+     * @param string $name
110
+     */
108 111
     public function getBooleanColumn($name) {
109 112
         return [
110 113
             'class' => BooleanColumn::class,
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -146,7 +146,7 @@
 block discarded – undo
146 146
             'actions' => [
147 147
                 'class' => ActionColumn::className(),
148 148
                 'buttons' => [
149
-                    'view' => function () {},
149
+                    'view' => function() {},
150 150
                 ],
151 151
             ],
152 152
         ];
Please login to merge, or discard this patch.
action/Params.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -33,6 +33,9 @@
 block discarded – undo
33 33
         return '/' . implode('/', $parts);
34 34
     }
35 35
 
36
+    /**
37
+     * @param \execut\actions\Action $action
38
+     */
36 39
     public static function createFromAction($action, $helper = null) {
37 40
         $controller = $action->controller;
38 41
         if ($helper === null) {
Please login to merge, or discard this patch.
action/adapter/Edit.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -149,7 +149,7 @@  discard block
 block discarded – undo
149 149
             $editFormLabel = $this->getEditFormLabel($this->model);
150 150
         }
151 151
 
152
-        $editFormLabel  = strtr($this->labelTemplate, [
152
+        $editFormLabel = strtr($this->labelTemplate, [
153 153
             '{label}' => $editFormLabel,
154 154
             '{closeButton}' => $this->closeButton,
155 155
         ]);
@@ -158,7 +158,7 @@  discard block
 block discarded – undo
158 158
     }
159 159
 
160 160
     protected function getCreateFormLabel() {
161
-        $m  = $this->createFormLabel;
161
+        $m = $this->createFormLabel;
162 162
 
163 163
         $t = $this->translate($m);
164 164
 
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
     }
37 37
 
38 38
     /**
39
-     * @param $m
39
+     * @param string $m
40 40
      * @return string
41 41
      */
42 42
     protected function translate($m): string
Please login to merge, or discard this patch.
activeRecord/MassEditTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -265,7 +265,7 @@
 block discarded – undo
265 265
                 'displayOnly' => false,
266 266
                 'type' => DetailView::INPUT_WIDGET,
267 267
                 'attribute' => 'id',
268
-                'value' => function () use ($modelsNames) {
268
+                'value' => function() use ($modelsNames) {
269 269
                     return implode(', ', $modelsNames);
270 270
                 },
271 271
                 'widgetOptions' => [
Please login to merge, or discard this patch.
action/adapter/viewRenderer/DynaGrid.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -270,7 +270,7 @@
 block discarded – undo
270 270
 //                    '{create}' => ['class' => 'col-xs-8 text-right'],
271 271
                 ],
272 272
                 'bulkActionsItems' => [
273
-                    'General' => ['mass-update' => 'Mass edit',],
273
+                    'General' => ['mass-update' => 'Mass edit', ],
274 274
                 ],
275 275
                 'bulkActionsOptions' => [
276 276
                     'options' => [
Please login to merge, or discard this patch.
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -181,6 +181,9 @@
 block discarded – undo
181 181
         return $first . mb_substr($string, 1, null, $encoding);
182 182
     }
183 183
 
184
+    /**
185
+     * @return string
186
+     */
184 187
     public function getUniqueId() {
185 188
         if ($this->uniqueId) {
186 189
             return $this->uniqueId;
Please login to merge, or discard this patch.
widgets/DynaGrid.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
             'class' => GridView::class,
43 43
             'responsive' => false,
44 44
             'responsiveWrap' => false,
45
-            'rowOptions' => function ($row) {
45
+            'rowOptions' => function($row) {
46 46
                 if (method_exists($row, 'getRowOptions')) {
47 47
                     return $row->getRowOptions();
48 48
                 }
Please login to merge, or discard this patch.
widgets/GridView.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
     public function init()
32 32
     {
33 33
         $this->toolbar = $this->getToolbarConfig();
34
-        $this->rowOptions = function ($row) {
34
+        $this->rowOptions = function($row) {
35 35
             return [
36 36
                 'class' => 'link-row',
37 37
                 'data-id' => $row->primaryKey,
Please login to merge, or discard this patch.