Completed
Push — master ( 53d3fb...369d32 )
by Ryan
10s
created
src/Entry/EntryObserver.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
     /**
115 115
      * Run before a record is deleted.
116 116
      *
117
-     * @param  EntryInterface|EloquentModel $entry
117
+     * @param  EntryInterface $entry
118 118
      * @return bool
119 119
      */
120 120
     public function deleting(EntryInterface $entry)
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
     /**
155 155
      * Fired just before restoring.
156 156
      *
157
-     * @param EntryInterface|EloquentModel $entry
157
+     * @param EntryInterface $entry
158 158
      */
159 159
     public function restoring(EntryInterface $entry)
160 160
     {
@@ -164,7 +164,7 @@  discard block
 block discarded – undo
164 164
     /**
165 165
      * Run after a record has been restored.
166 166
      *
167
-     * @param EntryInterface|EloquentModel $entry
167
+     * @param EntryInterface $entry
168 168
      */
169 169
     public function restored(EntryInterface $entry)
170 170
     {
Please login to merge, or discard this patch.
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/Form.php 1 patch
Doc Comments   +4 added lines, -4 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
     {
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.
src/Support/Template.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
      *
55 55
      * @param             $template
56 56
      * @param  array      $payload
57
-     * @return string
57
+     * @return \Illuminate\Contracts\View\View
58 58
      * @throws \Exception
59 59
      */
60 60
     public function render($template, array $payload = [])
Please login to merge, or discard this patch.