Completed
Pull Request — master (#1290)
by
unknown
02:27
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/Form/Field.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -183,7 +183,7 @@  discard block
 block discarded – undo
183 183
     /**
184 184
      * Field constructor.
185 185
      *
186
-     * @param $column
186
+     * @param string $column
187 187
      * @param array $arguments
188 188
      */
189 189
     public function __construct($column, $arguments = [])
@@ -382,10 +382,10 @@  discard block
 block discarded – undo
382 382
     /**
383 383
      * Get or set rules.
384 384
      *
385
-     * @param null  $rules
385
+     * @param string  $rules
386 386
      * @param array $messages
387 387
      *
388
-     * @return mixed
388
+     * @return Field
389 389
      */
390 390
     public function rules($rules = null, $messages = [])
391 391
     {
@@ -606,8 +606,8 @@  discard block
 block discarded – undo
606 606
     /**
607 607
      * Add html attributes to elements.
608 608
      *
609
-     * @param array|string $attribute
610
-     * @param mixed        $value
609
+     * @param string $attribute
610
+     * @param boolean|string        $value
611 611
      *
612 612
      * @return $this
613 613
      */
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/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.