Completed
Pull Request — master (#1350)
by
unknown
02:38
created
src/Form/Field.php 1 patch
Doc Comments   +2 added lines, -2 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
@@ -650,7 +650,7 @@  discard block
 block discarded – undo
650 650
      * Add html attributes to elements.
651 651
      *
652 652
      * @param array|string $attribute
653
-     * @param mixed        $value
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.' . $relationColumn;
@@ -374,7 +377,7 @@  discard block
 block discarded – undo
374 377
     /**
375 378
      * Get the grid paginator.
376 379
      *
377
-     * @return mixed
380
+     * @return Tools\Paginator
378 381
      */
379 382
     public function paginator()
380 383
     {
@@ -750,7 +753,7 @@  discard block
 block discarded – undo
750 753
      *
751 754
      * @param Closure|null $closure
752 755
      *
753
-     * @return $this|Tools\Footer
756
+     * @return callable
754 757
      */
755 758
     public function footer(Closure $closure = null)
756 759
     {
Please login to merge, or discard this patch.
src/Grid/Filter/AbstractFilter.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -106,6 +106,10 @@  discard block
 block discarded – undo
106 106
     {
107 107
         $this->setPresenter(new Text($this->label));
108 108
     }
109
+
110
+    /**
111
+     * @param string $label
112
+     */
109 113
     public function setLabel($label)
110 114
     {
111 115
         $trans_key = 'validation.attributes.' . $label;
@@ -350,7 +354,7 @@  discard block
 block discarded – undo
350 354
      *
351 355
      * @param Presenter $presenter
352 356
      *
353
-     * @return mixed
357
+     * @return Presenter
354 358
      */
355 359
     protected function setPresenter(Presenter $presenter)
356 360
     {
Please login to merge, or discard this patch.