Completed
Pull Request — master (#1350)
by
unknown
02:50
created
src/Grid/Filter/Presenter/Select.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -168,7 +168,7 @@
 block discarded – undo
168 168
      *
169 169
      * @param string $target
170 170
      *
171
-     * @return mixed
171
+     * @return string
172 172
      */
173 173
     protected function getClass($target) : string
174 174
     {
Please login to merge, or discard this patch.
src/Grid/Filter/AbstractFilter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -331,7 +331,7 @@
 block discarded – undo
331 331
      *
332 332
      * @param Presenter $presenter
333 333
      *
334
-     * @return mixed
334
+     * @return Presenter
335 335
      */
336 336
     protected function setPresenter(Presenter $presenter)
337 337
     {
Please login to merge, or discard this patch.
src/Extension.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -8,6 +8,9 @@
 block discarded – undo
8 8
 
9 9
 abstract class Extension
10 10
 {
11
+    /**
12
+     * @param string $key
13
+     */
11 14
     public static function config($key, $default = null)
12 15
     {
13 16
         $name = array_search(get_called_class(), Admin::$extensions);
Please login to merge, or discard this patch.
src/Form/Field.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -407,7 +407,7 @@  discard block
 block discarded – undo
407 407
     /**
408 408
      * Get or set rules.
409 409
      *
410
-     * @param null  $rules
410
+     * @param string  $rules
411 411
      * @param array $messages
412 412
      *
413 413
      * @return $this
@@ -649,8 +649,8 @@  discard block
 block discarded – undo
649 649
     /**
650 650
      * Add html attributes to elements.
651 651
      *
652
-     * @param array|string $attribute
653
-     * @param mixed        $value
652
+     * @param string $attribute
653
+     * @param boolean|string        $value
654 654
      *
655 655
      * @return $this
656 656
      */
Please login to merge, or discard this patch.
src/Grid.php 1 patch
Doc Comments   +6 added lines, -3 removed lines patch added patch discarded remove patch
@@ -229,7 +229,7 @@  discard block
 block discarded – undo
229 229
      * Get or set option for grid.
230 230
      *
231 231
      * @param string $key
232
-     * @param mixed  $value
232
+     * @param boolean  $value
233 233
      *
234 234
      * @return $this|mixed
235 235
      */
@@ -286,6 +286,9 @@  discard block
 block discarded – undo
286 286
         return $column;
287 287
     }
288 288
 
289
+    /**
290
+     * @return string
291
+     */
289 292
     public function setLabel($label , $relationColumn)
290 293
     {
291 294
         $trans_key = 'validation.attributes.' . strtolower($relationColumn);
@@ -371,7 +374,7 @@  discard block
 block discarded – undo
371 374
     /**
372 375
      * Get the grid paginator.
373 376
      *
374
-     * @return mixed
377
+     * @return Tools\Paginator
375 378
      */
376 379
     public function paginator()
377 380
     {
@@ -735,7 +738,7 @@  discard block
 block discarded – undo
735 738
      *
736 739
      * @param Closure|null $closure
737 740
      *
738
-     * @return $this|Tools\Footer
741
+     * @return callable
739 742
      */
740 743
     public function footer(Closure $closure = null)
741 744
     {
Please login to merge, or discard this patch.