Completed
Push — master ( 52471e...4da56f )
by Ryan
06:22
created
src/Addon/AddonIntegrator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@
 block discarded – undo
109 109
      * Register an addon.
110 110
      *
111 111
      * @param $path
112
-     * @param $namespace
112
+     * @param string $namespace
113 113
      * @param boolean $enabled
114 114
      * @param boolean $installed
115 115
      */
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
      */
@@ -980,7 +980,7 @@  discard block
 block discarded – undo
980 980
     /**
981 981
      * Set the form response.
982 982
      *
983
-     * @param  null|false|Response $response
983
+     * @param  Response $response
984 984
      * @return $this
985 985
      */
986 986
     public function setFormResponse(Response $response)
@@ -1052,7 +1052,7 @@  discard block
 block discarded – undo
1052 1052
      * Disable a form field.
1053 1053
      *
1054 1054
      * @param $fieldSlug
1055
-     * @return FieldType
1055
+     * @return Form
1056 1056
      */
1057 1057
     public function disableFormField($fieldSlug)
1058 1058
     {
@@ -1235,9 +1235,9 @@  discard block
 block discarded – undo
1235 1235
     /**
1236 1236
      * Get a request value.
1237 1237
      *
1238
-     * @param        $key
1238
+     * @param        string $key
1239 1239
      * @param  null  $default
1240
-     * @return mixed
1240
+     * @return string
1241 1241
      */
1242 1242
     public function getRequestValue($key, $default = null)
1243 1243
     {
@@ -1260,8 +1260,7 @@  discard block
 block discarded – undo
1260 1260
      * Return a post key flag.
1261 1261
      *
1262 1262
      * @param        $key
1263
-     * @param  null  $default
1264
-     * @return mixed
1263
+     * @return boolean
1265 1264
      */
1266 1265
     public function hasPostedInput($key)
1267 1266
     {
Please login to merge, or discard this patch.