Completed
Push — master ( 98f825 )
by Ryan
10:38
created
src/Ui/Form/Form.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
     /**
163 163
      * Set the form response.
164 164
      *
165
-     * @param null|false|Response $response
165
+     * @param Response $response
166 166
      * @return $this
167 167
      */
168 168
     public function setResponse(Response $response)
@@ -310,7 +310,7 @@  discard block
 block discarded – undo
310 310
     /**
311 311
      * Get the form content.
312 312
      *
313
-     * @return null|View
313
+     * @return null|string
314 314
      */
315 315
     public function getContent()
316 316
     {
@@ -430,7 +430,7 @@  discard block
 block discarded – undo
430 430
      * Get an option value.
431 431
      *
432 432
      * @param      $key
433
-     * @param null $default
433
+     * @param string|null $default
434 434
      * @return mixed
435 435
      */
436 436
     public function getOption($key, $default = null)
@@ -553,7 +553,7 @@  discard block
 block discarded – undo
553 553
      * Get a form field.
554 554
      *
555 555
      * @param $fieldSlug
556
-     * @return FieldType|mixed
556
+     * @return FieldType
557 557
      */
558 558
     public function getField($fieldSlug)
559 559
     {
@@ -563,7 +563,7 @@  discard block
 block discarded – undo
563 563
     /**
564 564
      * Add data to the view data collection.
565 565
      *
566
-     * @param $key
566
+     * @param string $key
567 567
      * @param $value
568 568
      * @return $this
569 569
      */
Please login to merge, or discard this patch.
src/Ui/Form/FormAuthorizer.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,6 @@
 block discarded – undo
24 24
     /**
25 25
      * Create a new FormAuthorizer instance.
26 26
      *
27
-     * @param ModuleCollection $modules
28 27
      * @param Authorizer       $authorizer
29 28
      */
30 29
     public function __construct(Authorizer $authorizer)
Please login to merge, or discard this patch.
src/Ui/Form/FormBuilder.php 1 patch
Doc Comments   +17 added lines, -18 removed lines patch added patch discarded remove patch
@@ -257,7 +257,7 @@  discard block
 block discarded – undo
257 257
     /**
258 258
      * Fire field events.
259 259
      *
260
-     * @param       $trigger
260
+     * @param       string $trigger
261 261
      * @param array $payload
262 262
      */
263 263
     public function fireFieldEvents($trigger, array $payload = [])
@@ -391,7 +391,7 @@  discard block
 block discarded – undo
391 391
     /**
392 392
      * Set the form model.
393 393
      *
394
-     * @param  $model
394
+     * @param  string|null $model
395 395
      * @return $this
396 396
      */
397 397
     public function setModel($model)
@@ -427,7 +427,7 @@  discard block
 block discarded – undo
427 427
     /**
428 428
      * Get the entry object.
429 429
      *
430
-     * @return null|EntryInterface|FieldInterface|mixed
430
+     * @return null|integer
431 431
      */
432 432
     public function getEntry()
433 433
     {
@@ -658,8 +658,8 @@  discard block
 block discarded – undo
658 658
     /**
659 659
      * Get an option value.
660 660
      *
661
-     * @param      $key
662
-     * @param null $default
661
+     * @param      string $key
662
+     * @param string $default
663 663
      * @return mixed
664 664
      */
665 665
     public function getOption($key, $default = null)
@@ -670,8 +670,8 @@  discard block
 block discarded – undo
670 670
     /**
671 671
      * Set an option value.
672 672
      *
673
-     * @param $key
674
-     * @param $value
673
+     * @param string $key
674
+     * @param string $value
675 675
      * @return $this
676 676
      */
677 677
     public function setOption($key, $value)
@@ -735,7 +735,7 @@  discard block
 block discarded – undo
735 735
     /**
736 736
      * Get a form option value.
737 737
      *
738
-     * @param      $key
738
+     * @param      string $key
739 739
      * @param null $default
740 740
      * @return mixed
741 741
      */
@@ -791,7 +791,7 @@  discard block
 block discarded – undo
791 791
     /**
792 792
      * Return the form entry's ID.
793 793
      *
794
-     * @return int|mixed|null
794
+     * @return null|integer
795 795
      */
796 796
     public function getFormEntryId()
797 797
     {
@@ -827,7 +827,7 @@  discard block
 block discarded – undo
827 827
     /**
828 828
      * Set the form mode.
829 829
      *
830
-     * @param $mode
830
+     * @param string $mode
831 831
      * @return $this
832 832
      */
833 833
     public function setFormMode($mode)
@@ -922,7 +922,7 @@  discard block
 block discarded – undo
922 922
     /**
923 923
      * Set the form response.
924 924
      *
925
-     * @param null|false|Response $response
925
+     * @param Response $response
926 926
      * @return $this
927 927
      */
928 928
     public function setFormResponse(Response $response)
@@ -994,7 +994,7 @@  discard block
 block discarded – undo
994 994
      * Disable a form field.
995 995
      *
996 996
      * @param $fieldSlug
997
-     * @return FieldType
997
+     * @return Form
998 998
      */
999 999
     public function disableFormField($fieldSlug)
1000 1000
     {
@@ -1054,7 +1054,7 @@  discard block
 block discarded – undo
1054 1054
     /**
1055 1055
      * Get the form errors.
1056 1056
      *
1057
-     * @return null|MessageBag
1057
+     * @return MessageBag
1058 1058
      */
1059 1059
     public function getFormErrors()
1060 1060
     {
@@ -1065,7 +1065,7 @@  discard block
 block discarded – undo
1065 1065
      * Add an error to the form.
1066 1066
      *
1067 1067
      * @param $field
1068
-     * @param $message
1068
+     * @param string $message
1069 1069
      * @return $this
1070 1070
      */
1071 1071
     public function addFormError($field, $message)
@@ -1153,9 +1153,9 @@  discard block
 block discarded – undo
1153 1153
     /**
1154 1154
      * Get a request value.
1155 1155
      *
1156
-     * @param      $key
1156
+     * @param      string $key
1157 1157
      * @param null $default
1158
-     * @return mixed
1158
+     * @return string
1159 1159
      */
1160 1160
     public function getRequestValue($key, $default = null)
1161 1161
     {
@@ -1178,8 +1178,7 @@  discard block
 block discarded – undo
1178 1178
      * Return a post key flag.
1179 1179
      *
1180 1180
      * @param      $key
1181
-     * @param null $default
1182
-     * @return mixed
1181
+     * @return boolean
1183 1182
      */
1184 1183
     public function hasPostedInput($key)
1185 1184
     {
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
@@ -33,7 +33,6 @@  discard block
 block discarded – undo
33 33
     /**
34 34
      * Make the form.
35 35
      *
36
-     * @param null  $builder
37 36
      * @param array $parameters
38 37
      * @return FormCriteria
39 38
      */
@@ -60,7 +59,7 @@  discard block
 block discarded – undo
60 59
 
61 60
     /**
62 61
      * @param array $parameters
63
-     * @return array
62
+     * @return string
64 63
      */
65 64
     protected function resolve(array $parameters)
66 65
     {
Please login to merge, or discard this patch.
src/Ui/Icon/Icon.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
     /**
47 47
      * Set the type.
48 48
      *
49
-     * @param $type
49
+     * @param string $type
50 50
      * @return $this
51 51
      */
52 52
     public function setType($type)
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
     /**
70 70
      * Set the class.
71 71
      *
72
-     * @param $class
72
+     * @param string $class
73 73
      * @return $this
74 74
      */
75 75
     public function setClass($class)
Please login to merge, or discard this patch.
src/Ui/Table/Command/SetDefaultParameters.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,6 @@
 block discarded – undo
53 53
     /**
54 54
      * Set the table model object from the builder's model.
55 55
      *
56
-     * @param SetDefaultParameters $command
57 56
      */
58 57
     public function handle()
59 58
     {
Please login to merge, or discard this patch.
src/Ui/Table/Component/Action/Command/SetActiveAction.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,6 @@
 block discarded – undo
34 34
     /**
35 35
      * Set the active action.
36 36
      *
37
-     * @param SetActiveAction $command
38 37
      */
39 38
     public function handle()
40 39
     {
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
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
      * Get the current direction
97 97
      * defaulting to ascending.
98 98
      *
99
-     * @param null $default
99
+     * @param string $default
100 100
      * @return string|null
101 101
      */
102 102
     public function getDirection($default = null)
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
     /**
139 139
      * Get the header heading.
140 140
      *
141
-     * @return mixed
141
+     * @return string
142 142
      */
143 143
     public function getHeading()
144 144
     {
Please login to merge, or discard this patch.
src/Ui/Table/Component/View/Command/SetActiveView.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,6 @@
 block discarded – undo
38 38
      * Handle the command.
39 39
      *
40 40
      * @param Request   $request
41
-     * @param Container $container
42 41
      */
43 42
     public function handle(Request $request, ViewHandler $handler)
44 43
     {
Please login to merge, or discard this patch.