Completed
Pull Request — master (#2153)
by
unknown
11:07
created
src/Form/Field.php 2 patches
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -196,7 +196,7 @@  discard block
 block discarded – undo
196 196
     /**
197 197
      * Field constructor.
198 198
      *
199
-     * @param $column
199
+     * @param string $column
200 200
      * @param array $arguments
201 201
      */
202 202
     public function __construct($column, $arguments = [])
@@ -329,7 +329,7 @@  discard block
 block discarded – undo
329 329
 
330 330
     /**
331 331
      * [custom format form column data when edit]
332
-     * @param  Closure $call
332
+     * @param  \Closure $call
333 333
      * @return [null]
334 334
      */
335 335
     public function format(\Closure $call)
@@ -409,7 +409,7 @@  discard block
 block discarded – undo
409 409
     /**
410 410
      * Get or set rules.
411 411
      *
412
-     * @param null  $rules
412
+     * @param string  $rules
413 413
      * @param array $messages
414 414
      *
415 415
      * @return $this
@@ -655,7 +655,7 @@  discard block
 block discarded – undo
655 655
     /**
656 656
      * Add html attributes to elements.
657 657
      *
658
-     * @param array|string $attribute
658
+     * @param string $attribute
659 659
      * @param mixed        $value
660 660
      *
661 661
      * @return $this
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -323,7 +323,7 @@
 block discarded – undo
323 323
 
324 324
         $this->value = array_get($data, $this->column);
325 325
         if (isset($this->format) && $this->format instanceof \Closure) {
326
-            $this->value = call_user_func($this->format , $this->value);
326
+            $this->value = call_user_func($this->format, $this->value);
327 327
         }
328 328
     }
329 329
 
Please login to merge, or discard this patch.