Completed
Pull Request — master (#1376)
by Song
08:00
created
src/Grid.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -228,7 +228,7 @@  discard block
 block discarded – undo
228 228
      * Get or set option for grid.
229 229
      *
230 230
      * @param string $key
231
-     * @param mixed  $value
231
+     * @param boolean  $value
232 232
      *
233 233
      * @return $this|mixed
234 234
      */
@@ -358,7 +358,7 @@  discard block
 block discarded – undo
358 358
     /**
359 359
      * Get the grid paginator.
360 360
      *
361
-     * @return mixed
361
+     * @return Tools\Paginator
362 362
      */
363 363
     public function paginator()
364 364
     {
@@ -722,7 +722,7 @@  discard block
 block discarded – undo
722 722
      *
723 723
      * @param Closure|null $closure
724 724
      *
725
-     * @return $this|Tools\Footer
725
+     * @return callable
726 726
      */
727 727
     public function footer(Closure $closure = null)
728 728
     {
Please login to merge, or discard this patch.
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/Form/Field.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -188,7 +188,7 @@  discard block
 block discarded – undo
188 188
     /**
189 189
      * Field constructor.
190 190
      *
191
-     * @param $column
191
+     * @param string $column
192 192
      * @param array $arguments
193 193
      */
194 194
     public function __construct($column, $arguments = [])
@@ -387,7 +387,7 @@  discard block
 block discarded – undo
387 387
     /**
388 388
      * Get or set rules.
389 389
      *
390
-     * @param null  $rules
390
+     * @param string  $rules
391 391
      * @param array $messages
392 392
      *
393 393
      * @return $this
@@ -629,8 +629,8 @@  discard block
 block discarded – undo
629 629
     /**
630 630
      * Add html attributes to elements.
631 631
      *
632
-     * @param array|string $attribute
633
-     * @param mixed        $value
632
+     * @param string $attribute
633
+     * @param boolean|string        $value
634 634
      *
635 635
      * @return $this
636 636
      */
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.