Completed
Push — master ( 5cc558...d43284 )
by Ryan
11:03 queued 05:19
created
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.
src/Ui/Table/Table.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -387,7 +387,7 @@
 block discarded – undo
387 387
      * Get an option value.
388 388
      *
389 389
      * @param        $key
390
-     * @param  null  $default
390
+     * @param  integer|null  $default
391 391
      * @return mixed
392 392
      */
393 393
     public function getOption($key, $default = null)
Please login to merge, or discard this patch.
src/Ui/Table/TableRepository.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
     /**
22 22
      * Create a new EloquentModel instance.
23 23
      *
24
-     * @param EloquentModel $model
24
+     * @param Model $model
25 25
      */
26 26
     public function __construct(Model $model)
27 27
     {
Please login to merge, or discard this patch.