Completed
Pull Request — master (#422)
by
unknown
03:21
created
src/Kris/LaravelFormBuilder/Fields/ParentType.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
     /**
63 63
      * Get all children of the choice field.
64 64
      *
65
-     * @return mixed
65
+     * @return FormField[]
66 66
      */
67 67
     public function getChildren()
68 68
     {
Please login to merge, or discard this patch.
src/Kris/LaravelFormBuilder/FormBuilder.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,8 +40,7 @@
 block discarded – undo
40 40
      * Create a Form instance.
41 41
      *
42 42
      * @param string $formClass The name of the class that inherits \Kris\LaravelFormBuilder\Form.
43
-     * @param array $options|null
44
-     * @param array $data|null
43
+     * @param array $options
45 44
      * @return Form
46 45
      */
47 46
     public function create($formClass, array $options = [], array $data = [])
Please login to merge, or discard this patch.
src/Kris/LaravelFormBuilder/Fields/CollectionType.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -134,7 +134,7 @@
 block discarded – undo
134 134
      * Set up a single child element for a collection.
135 135
      *
136 136
      * @param FormField $field
137
-     * @param           $name
137
+     * @param           string $name
138 138
      * @param null      $value
139 139
      * @return FormField
140 140
      */
Please login to merge, or discard this patch.
src/Kris/LaravelFormBuilder/Fields/FormField.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -233,7 +233,7 @@  discard block
 block discarded – undo
233 233
      * Transform array like syntax to dot syntax.
234 234
      *
235 235
      * @param string $key
236
-     * @return mixed
236
+     * @return string
237 237
      */
238 238
     protected function transformKey($key)
239 239
     {
@@ -671,7 +671,7 @@  discard block
 block discarded – undo
671 671
     /**
672 672
      * Get this field's attributes, probably just one.
673 673
      *
674
-     * @return array
674
+     * @return string[]
675 675
      */
676 676
     public function getAllAttributes()
677 677
     {
@@ -852,7 +852,7 @@  discard block
 block discarded – undo
852 852
     /**
853 853
      * Method used to set FiltersOverride status to provided value.
854 854
      *
855
-     * @param $status
855
+     * @param boolean $status
856 856
      *
857 857
      * @return \Kris\LaravelFormBuilder\Fields\FormField
858 858
      */
Please login to merge, or discard this patch.
src/Kris/LaravelFormBuilder/Filters/FilterResolver.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
      *
48 48
      * @throws \Exception
49 49
      *
50
-     * @return mixed
50
+     * @return FilterInterface
51 51
      */
52 52
     private static function validateFilterInstance($filter)
53 53
     {
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
     }
61 61
 
62 62
     /**
63
-     * @param  $filterName
63
+     * @param  string $filterName
64 64
      *
65 65
      * @return FilterInterface|null
66 66
      */
Please login to merge, or discard this patch.
src/Kris/LaravelFormBuilder/Filters/Collection/HtmlEntities.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
     /**
130 130
      * Returns the doubleQuote property.
131 131
      *
132
-     * @return boolean
132
+     * @return string
133 133
      */
134 134
     public function getDoubleQuote()
135 135
     {
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
      * @param  string $value
154 154
      * @param  array $options
155 155
      *
156
-     * @return mixed
156
+     * @return string
157 157
      *
158 158
      * @throws \Exception
159 159
      */
Please login to merge, or discard this patch.
src/Kris/LaravelFormBuilder/Filters/Collection/XSS.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
      * @param  mixed $value
29 29
      * @param  array $options
30 30
      *
31
-     * @return mixed
31
+     * @return string
32 32
      */
33 33
     public function filter($value, $options = [])
34 34
     {
Please login to merge, or discard this patch.