Completed
Pull Request — master (#582)
by
unknown
03:26
created
src/Kris/LaravelFormBuilder/Rules.php 1 patch
Doc Comments   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
     }
67 67
 
68 68
     /**
69
-     * @param array $rules
69
+     * @param mixes[] $rules
70 70
      * @param string $fieldName
71 71
      */
72 72
     public function setFieldRules(array $rules, $fieldName = null) {
@@ -90,9 +90,7 @@  discard block
 block discarded – undo
90 90
     }
91 91
 
92 92
     /**
93
-     * @param array $rules
94
-     * @param array $attributes
95
-     * @param array $messages
93
+     * @param Rules $rules
96 94
      */
97 95
     public function append($rules) {
98 96
       if (is_array($rules)) {
Please login to merge, or discard this patch.
src/Kris/LaravelFormBuilder/Form.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -321,7 +321,7 @@  discard block
 block discarded – undo
321 321
     /**
322 322
      * Take another form and add it's fields directly to this form.
323 323
      *
324
-     * @param mixed   $class        Form to merge.
324
+     * @param Form   $class        Form to merge.
325 325
      * @param array   $options
326 326
      * @param boolean $modify
327 327
      * @return $this
@@ -538,7 +538,7 @@  discard block
 block discarded – undo
538 538
      * Set single form option on form.
539 539
      *
540 540
      * @param string $option
541
-     * @param mixed $value
541
+     * @param boolean $value
542 542
      *
543 543
      * @return $this
544 544
      */
@@ -1047,7 +1047,7 @@  discard block
 block discarded – undo
1047 1047
     /**
1048 1048
      * Get template from options if provided, otherwise fallback to config.
1049 1049
      *
1050
-     * @return mixed
1050
+     * @return string
1051 1051
      */
1052 1052
     protected function getTemplate()
1053 1053
     {
Please login to merge, or discard this patch.