Completed
Push — master ( 27f167...51621d )
by Ryan
06:10
created
src/Support/Html.php 1 patch
Doc Comments   +5 added lines, -10 removed lines patch added patch discarded remove patch
@@ -178,7 +178,7 @@  discard block
 block discarded – undo
178 178
     /**
179 179
      * Close the current form.
180 180
      *
181
-     * @return string
181
+     * @return HtmlString
182 182
      */
183 183
     public function close()
184 184
     {
@@ -192,7 +192,7 @@  discard block
 block discarded – undo
192 192
     /**
193 193
      * Generate a hidden field with the current CSRF token.
194 194
      *
195
-     * @return string
195
+     * @return HtmlString
196 196
      */
197 197
     public function token()
198 198
     {
@@ -591,11 +591,6 @@  discard block
 block discarded – undo
591 591
     /**
592 592
      * Create a select year field.
593 593
      *
594
-     * @param string $name
595
-     * @param string $begin
596
-     * @param string $end
597
-     * @param string $selected
598
-     * @param array  $options
599 594
      *
600 595
      * @return mixed
601 596
      */
@@ -684,7 +679,7 @@  discard block
 block discarded – undo
684 679
     /**
685 680
      * Create a placeholder select element option.
686 681
      *
687
-     * @param $display
682
+     * @param string $display
688 683
      * @param $selected
689 684
      *
690 685
      * @return \Illuminate\Support\HtmlString
@@ -720,7 +715,7 @@  discard block
 block discarded – undo
720 715
      * Create a checkbox input field.
721 716
      *
722 717
      * @param string $name
723
-     * @param mixed  $value
718
+     * @param integer  $value
724 719
      * @param bool   $checked
725 720
      * @param array  $options
726 721
      *
@@ -1140,7 +1135,7 @@  discard block
 block discarded – undo
1140 1135
      *
1141 1136
      * @param string $key
1142 1137
      *
1143
-     * @return mixed
1138
+     * @return string
1144 1139
      */
1145 1140
     protected function transformKey($key)
1146 1141
     {
Please login to merge, or discard this patch.
src/Traits/FiresCallbacks.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
     /**
66 66
      * Fire a set of closures by trigger.
67 67
      *
68
-     * @param        $trigger
68
+     * @param        string $trigger
69 69
      * @param  array $parameters
70 70
      * @return $this
71 71
      */
Please login to merge, or discard this patch.
src/Ui/Command/GetTranslatedString.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,6 @@
 block discarded – undo
50 50
     /**
51 51
      * Handle the command.
52 52
      *
53
-     * @param  Translator $translator
54 53
      * @return string
55 54
      */
56 55
     public function handle()
Please login to merge, or discard this patch.
src/Ui/ControlPanel/Component/Section/Contract/SectionInterface.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
     /**
143 143
      * Set the highlighted flag.
144 144
      *
145
-     * @param  boolean $active
145
+     * @param boolean $highlighted
146 146
      * @return $this
147 147
      */
148 148
     public function setHighlighted($highlighted);
@@ -181,6 +181,7 @@  discard block
 block discarded – undo
181 181
      * Set the buttons.
182 182
      *
183 183
      * @param array|string $buttons
184
+     * @return void
184 185
      */
185 186
     public function setButtons($buttons);
186 187
 
@@ -195,6 +196,7 @@  discard block
 block discarded – undo
195 196
      * Set the attributes.
196 197
      *
197 198
      * @param array $attributes
199
+     * @return void
198 200
      */
199 201
     public function setAttributes(array $attributes);
200 202
 
Please login to merge, or discard this patch.
src/Ui/ControlPanel/Component/Section/Section.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -304,7 +304,6 @@
 block discarded – undo
304 304
     /**
305 305
      * Set the highlighted flag.
306 306
      *
307
-     * @param  boolean $active
308 307
      * @return $this
309 308
      */
310 309
     public function setHighlighted($highlighted)
Please login to merge, or discard this patch.
src/Ui/Form/Form.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
161 161
     /**
162 162
      * Set the form response.
163 163
      *
164
-     * @param  null|false|Response $response
164
+     * @param  Response $response
165 165
      * @return $this
166 166
      */
167 167
     public function setResponse(Response $response)
@@ -309,7 +309,7 @@  discard block
 block discarded – undo
309 309
     /**
310 310
      * Get the form content.
311 311
      *
312
-     * @return null|View
312
+     * @return null|string
313 313
      */
314 314
     public function getContent()
315 315
     {
@@ -429,7 +429,7 @@  discard block
 block discarded – undo
429 429
      * Get an option value.
430 430
      *
431 431
      * @param        $key
432
-     * @param  null  $default
432
+     * @param  string|null  $default
433 433
      * @return mixed
434 434
      */
435 435
     public function getOption($key, $default = null)
@@ -552,7 +552,7 @@  discard block
 block discarded – undo
552 552
      * Get a form field.
553 553
      *
554 554
      * @param $field
555
-     * @return FieldType|mixed
555
+     * @return FieldType
556 556
      */
557 557
     public function getField($field)
558 558
     {
@@ -578,7 +578,7 @@  discard block
 block discarded – undo
578 578
     /**
579 579
      * Add data to the view data collection.
580 580
      *
581
-     * @param $key
581
+     * @param string $key
582 582
      * @param $value
583 583
      * @return $this
584 584
      */
Please login to merge, or discard this patch.
src/Ui/Form/FormBuilder.php 1 patch
Doc Comments   +14 added lines, -15 removed lines patch added patch discarded remove patch
@@ -291,7 +291,7 @@  discard block
 block discarded – undo
291 291
     /**
292 292
      * Fire field events.
293 293
      *
294
-     * @param       $trigger
294
+     * @param       string $trigger
295 295
      * @param array $payload
296 296
      */
297 297
     public function fireFieldEvents($trigger, array $payload = [])
@@ -461,7 +461,7 @@  discard block
 block discarded – undo
461 461
     /**
462 462
      * Get the entry object.
463 463
      *
464
-     * @return null|EntryInterface|FieldInterface|mixed
464
+     * @return null|integer
465 465
      */
466 466
     public function getEntry()
467 467
     {
@@ -702,8 +702,8 @@  discard block
 block discarded – undo
702 702
     /**
703 703
      * Get an option value.
704 704
      *
705
-     * @param        $key
706
-     * @param  null $default
705
+     * @param        string $key
706
+     * @param  string $default
707 707
      * @return mixed
708 708
      */
709 709
     public function getOption($key, $default = null)
@@ -779,8 +779,8 @@  discard block
 block discarded – undo
779 779
     /**
780 780
      * Get a form option value.
781 781
      *
782
-     * @param        $key
783
-     * @param  null $default
782
+     * @param        string $key
783
+     * @param  string $default
784 784
      * @return mixed
785 785
      */
786 786
     public function getFormOption($key, $default = null)
@@ -835,7 +835,7 @@  discard block
 block discarded – undo
835 835
     /**
836 836
      * Return the form entry's ID.
837 837
      *
838
-     * @return int|mixed|null
838
+     * @return null|integer
839 839
      */
840 840
     public function getFormEntryId()
841 841
     {
@@ -871,7 +871,7 @@  discard block
 block discarded – undo
871 871
     /**
872 872
      * Set the form mode.
873 873
      *
874
-     * @param $mode
874
+     * @param string $mode
875 875
      * @return $this
876 876
      */
877 877
     public function setFormMode($mode)
@@ -896,7 +896,7 @@  discard block
 block discarded – undo
896 896
     /**
897 897
      * Set a form value.
898 898
      *
899
-     * @param $key
899
+     * @param string $key
900 900
      * @param $value
901 901
      * @return $this
902 902
      */
@@ -966,7 +966,7 @@  discard block
 block discarded – undo
966 966
     /**
967 967
      * Set the form response.
968 968
      *
969
-     * @param  null|false|Response $response
969
+     * @param  Response $response
970 970
      * @return $this
971 971
      */
972 972
     public function setFormResponse(Response $response)
@@ -1038,7 +1038,7 @@  discard block
 block discarded – undo
1038 1038
      * Disable a form field.
1039 1039
      *
1040 1040
      * @param $fieldSlug
1041
-     * @return FieldType
1041
+     * @return Form
1042 1042
      */
1043 1043
     public function disableFormField($fieldSlug)
1044 1044
     {
@@ -1221,9 +1221,9 @@  discard block
 block discarded – undo
1221 1221
     /**
1222 1222
      * Get a request value.
1223 1223
      *
1224
-     * @param        $key
1224
+     * @param        string $key
1225 1225
      * @param  null $default
1226
-     * @return mixed
1226
+     * @return string
1227 1227
      */
1228 1228
     public function getRequestValue($key, $default = null)
1229 1229
     {
@@ -1246,8 +1246,7 @@  discard block
 block discarded – undo
1246 1246
      * Return a post key flag.
1247 1247
      *
1248 1248
      * @param        $key
1249
-     * @param  null $default
1250
-     * @return mixed
1249
+     * @return boolean
1251 1250
      */
1252 1251
     public function hasPostedInput($key)
1253 1252
     {
Please login to merge, or discard this patch.
src/Ui/Form/FormFactory.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,7 +32,6 @@  discard block
 block discarded – undo
32 32
     /**
33 33
      * Make the form.
34 34
      *
35
-     * @param  null         $builder
36 35
      * @param  array        $parameters
37 36
      * @return FormCriteria
38 37
      */
@@ -59,7 +58,7 @@  discard block
 block discarded – undo
59 58
 
60 59
     /**
61 60
      * @param  array $parameters
62
-     * @return array
61
+     * @return string
63 62
      */
64 63
     protected function resolve(array $parameters)
65 64
     {
Please login to merge, or discard this patch.
src/Ui/Table/Component/Header/Header.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
      * Get the current direction
96 96
      * defaulting to ascending.
97 97
      *
98
-     * @param  null        $default
98
+     * @param  string        $default
99 99
      * @return string|null
100 100
      */
101 101
     public function getDirection($default = null)
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
     /**
138 138
      * Get the header heading.
139 139
      *
140
-     * @return mixed
140
+     * @return string
141 141
      */
142 142
     public function getHeading()
143 143
     {
Please login to merge, or discard this patch.