Completed
Push — master ( 23fc75...538ed8 )
by Rudie
06:10 queued 04:46
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/Form.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -457,7 +457,7 @@  discard block
 block discarded – undo
457 457
      * Set single form option on form.
458 458
      *
459 459
      * @param string $option
460
-     * @param mixed $value
460
+     * @param boolean $value
461 461
      *
462 462
      * @return $this
463 463
      */
@@ -893,7 +893,7 @@  discard block
 block discarded – undo
893 893
     /**
894 894
      * Get template from options if provided, otherwise fallback to config.
895 895
      *
896
-     * @return mixed
896
+     * @return string
897 897
      */
898 898
     protected function getTemplate()
899 899
     {
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/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.
src/Kris/LaravelFormBuilder/RulesParser.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -486,7 +486,7 @@  discard block
 block discarded – undo
486 486
     /**
487 487
      * Check if the field is one of certain types.
488 488
      *
489
-     * @param  string|array  $types
489
+     * @param  string[]  $types
490 490
      * @return bool
491 491
      */
492 492
     protected function isType($types)
@@ -577,7 +577,7 @@  discard block
 block discarded – undo
577 577
      *
578 578
      * @param  string $rule
579 579
      * @param  string $parameter
580
-     * @return array
580
+     * @return string
581 581
      */
582 582
     protected function parseParameters($rule, $parameter)
583 583
     {
Please login to merge, or discard this patch.
src/Kris/LaravelFormBuilder/Events/AfterCollectingFieldRules.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,6 @@
 block discarded – undo
25 25
     /**
26 26
      * Create a new after field creation instance.
27 27
      *
28
-     * @param Form $form
29 28
      * @param FormField $field
30 29
      * @return void
31 30
      */
Please login to merge, or discard this patch.
src/Kris/LaravelFormBuilder/Fields/FormField.php 1 patch
Doc Comments   +6 added lines, -4 removed lines patch added patch discarded remove patch
@@ -243,7 +243,7 @@  discard block
 block discarded – undo
243 243
      * Transform array like syntax to dot syntax.
244 244
      *
245 245
      * @param string $key
246
-     * @return mixed
246
+     * @return string
247 247
      */
248 248
     protected function transformKey($key)
249 249
     {
@@ -664,7 +664,7 @@  discard block
 block discarded – undo
664 664
     /**
665 665
      * Get validation rules for a field if any with label for attributes.
666 666
      *
667
-     * @return array|null
667
+     * @return Rules
668 668
      */
669 669
     public function getValidationRules()
670 670
     {
@@ -706,7 +706,7 @@  discard block
 block discarded – undo
706 706
     /**
707 707
      * Get this field's attributes, probably just one.
708 708
      *
709
-     * @return array
709
+     * @return string[]
710 710
      */
711 711
     public function getAllAttributes()
712 712
     {
@@ -887,7 +887,7 @@  discard block
 block discarded – undo
887 887
     /**
888 888
      * Method used to set FiltersOverride status to provided value.
889 889
      *
890
-     * @param $status
890
+     * @param boolean $status
891 891
      *
892 892
      * @return \Kris\LaravelFormBuilder\Fields\FormField
893 893
      */
@@ -932,6 +932,8 @@  discard block
 block discarded – undo
932 932
     /**
933 933
      * Get config from the form.
934 934
      *
935
+     * @param string $key
936
+     * @param string $default
935 937
      * @return mixed
936 938
      */
937 939
     private function getConfig($key = null, $default = null)
Please login to merge, or discard this patch.