Completed
Pull Request — master (#340)
by
unknown
06:15
created
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/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.
src/Stream/StreamSchema.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -119,7 +119,7 @@
 block discarded – undo
119 119
     /**
120 120
      * Drop a table.
121 121
      *
122
-     * @param $table
122
+     * @param string $table
123 123
      */
124 124
     public function dropTable($table)
125 125
     {
Please login to merge, or discard this patch.
src/Database/Migration/Migrator.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -211,7 +211,6 @@
 block discarded – undo
211 211
     /**
212 212
      * Clear the addon.
213 213
      *
214
-     * @param Addon $addon
215 214
      */
216 215
     public function clearAddon()
217 216
     {
Please login to merge, or discard this patch.
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/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.