Passed
Push — master ( 2d6907...a5f38f )
by
unknown
04:10
created
src/Charcoal/Cms/Service/Manager/NewsManager.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -149,7 +149,7 @@  discard block
 block discarded – undo
149 149
 
150 150
     /**
151 151
      * @param integer|null $id The news id.
152
-     * @return mixed
152
+     * @return NewsInterface
153 153
      */
154 154
     public function entry($id = null)
155 155
     {
@@ -316,7 +316,7 @@  discard block
 block discarded – undo
316 316
     }
317 317
 
318 318
     /**
319
-     * @return mixed The previous news
319
+     * @return NewsInterface The previous news
320 320
      */
321 321
     public function prev()
322 322
     {
@@ -328,7 +328,7 @@  discard block
 block discarded – undo
328 328
     }
329 329
 
330 330
     /**
331
-     * @return mixed The next news
331
+     * @return NewsInterface The next news
332 332
      */
333 333
     public function next()
334 334
     {
@@ -400,7 +400,7 @@  discard block
 block discarded – undo
400 400
 
401 401
     /**
402 402
      * Amount of news (total)
403
-     * @return integer How many news?
403
+     * @return boolean How many news?
404 404
      */
405 405
     public function numNews()
406 406
     {
@@ -442,7 +442,7 @@  discard block
 block discarded – undo
442 442
     }
443 443
 
444 444
     /**
445
-     * @return mixed
445
+     * @return string
446 446
      */
447 447
     public function objType()
448 448
     {
@@ -450,7 +450,7 @@  discard block
 block discarded – undo
450 450
     }
451 451
 
452 452
     /**
453
-     * @return mixed
453
+     * @return string
454 454
      */
455 455
     public function featIdent()
456 456
     {
Please login to merge, or discard this patch.
src/Charcoal/Cms/Service/Manager/EventManager.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -230,7 +230,7 @@  discard block
 block discarded – undo
230 230
 
231 231
     /**
232 232
      * @param integer|null $id The event id.
233
-     * @return mixed
233
+     * @return EventInterface
234 234
      */
235 235
     public function entry($id = null)
236 236
     {
@@ -398,7 +398,7 @@  discard block
 block discarded – undo
398 398
     }
399 399
 
400 400
     /**
401
-     * @return mixed The previous event
401
+     * @return EventInterface The previous event
402 402
      */
403 403
     public function prev()
404 404
     {
@@ -410,7 +410,7 @@  discard block
 block discarded – undo
410 410
     }
411 411
 
412 412
     /**
413
-     * @return mixed The next event
413
+     * @return EventInterface The next event
414 414
      */
415 415
     public function next()
416 416
     {
@@ -504,7 +504,7 @@  discard block
 block discarded – undo
504 504
 
505 505
     /**
506 506
      * Amount of event (total)
507
-     * @return integer How many event?
507
+     * @return boolean How many event?
508 508
      */
509 509
     public function numEvent()
510 510
     {
@@ -567,7 +567,7 @@  discard block
 block discarded – undo
567 567
     }
568 568
 
569 569
     /**
570
-     * @return mixed
570
+     * @return string
571 571
      */
572 572
     public function featIdent()
573 573
     {
Please login to merge, or discard this patch.
src/Charcoal/Cms/EventCategory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
     }
56 56
 
57 57
     /**
58
-     * @return mixed
58
+     * @return string[]
59 59
      */
60 60
     public function name()
61 61
     {
Please login to merge, or discard this patch.
src/Charcoal/Cms/TemplateableTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@
 block discarded – undo
86 86
     /**
87 87
      * Retrieve the renderable object's template identifier.
88 88
      *
89
-     * @return mixed
89
+     * @return string
90 90
      */
91 91
     public function templateIdent()
92 92
     {
Please login to merge, or discard this patch.
src/Charcoal/Admin/Widget/GroupAttachmentWidget.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -238,7 +238,7 @@
 block discarded – undo
238 238
     /**
239 239
      * Retrieve the form object's template controller identifier.
240 240
      *
241
-     * @return mixed
241
+     * @return string
242 242
      */
243 243
     public function controllerIdent()
244 244
     {
Please login to merge, or discard this patch.
src/Charcoal/Cms/AbstractEvent.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -213,7 +213,7 @@  discard block
 block discarded – undo
213 213
     }
214 214
 
215 215
     /**
216
-     * @param  string|DateTimeInterface|null $startDate Event starting date.
216
+     * @param  string $startDate Event starting date.
217 217
      * @throws InvalidArgumentException If the timestamp is invalid.
218 218
      * @return self
219 219
      */
@@ -246,7 +246,7 @@  discard block
 block discarded – undo
246 246
     }
247 247
 
248 248
     /**
249
-     * @param  string|DateTimeInterface|null $endDate Event end date.
249
+     * @param  null|DateTimeInterface $endDate Event end date.
250 250
      * @throws InvalidArgumentException If the timestamp is invalid.
251 251
      * @return self
252 252
      */
@@ -298,7 +298,7 @@  discard block
 block discarded – undo
298 298
     }
299 299
 
300 300
     /**
301
-     * @return Translation|string|null
301
+     * @return null|Translation
302 302
      */
303 303
     public function defaultMetaDescription()
304 304
     {
Please login to merge, or discard this patch.
src/Charcoal/Cms/Service/Loader/EventLoader.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
     }
88 88
 
89 89
     /**
90
-     * @param mixed $date The news date to filter
90
+     * @param DateTime $date The news date to filter
91 91
      *                    [startDate, endDate]
92 92
      *                    DateTimeInterface
93 93
      *                    string.
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
     }
104 104
 
105 105
     /**
106
-     * @param mixed $date The news date to filter
106
+     * @param DateTime $date The news date to filter
107 107
      *                    [startDate, endDate]
108 108
      *                    DateTimeInterface
109 109
      *                    string.
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
     }
120 120
 
121 121
     /**
122
-     * @return mixed
122
+     * @return string
123 123
      */
124 124
     public function lifespan()
125 125
     {
Please login to merge, or discard this patch.
src/Charcoal/Cms/Service/Loader/SectionLoader.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -222,7 +222,7 @@
 block discarded – undo
222 222
     }
223 223
 
224 224
     /**
225
-     * @return object
225
+     * @return string
226 226
      */
227 227
     public function objType()
228 228
     {
Please login to merge, or discard this patch.
src/Charcoal/Cms/AbstractNews.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -181,7 +181,7 @@  discard block
 block discarded – undo
181 181
     }
182 182
 
183 183
     /**
184
-     * @param  string|DateTimeInterface|null $newsDate The news date.
184
+     * @param  string $newsDate The news date.
185 185
      * @throws InvalidArgumentException If the timestamp is invalid.
186 186
      * @return self
187 187
      */
@@ -288,7 +288,7 @@  discard block
 block discarded – undo
288 288
      * MetatagTrait > canonical_url
289 289
      *
290 290
      * @see MetatagTrait::canonicalUrl()
291
-     * @return string
291
+     * @return Translation|null
292 292
      */
293 293
     public function canonicalUrl()
294 294
     {
@@ -306,7 +306,7 @@  discard block
 block discarded – undo
306 306
 
307 307
     /**
308 308
      * @see MetatagTrait::defaultMetaDescription()
309
-     * @return Translation|string|null
309
+     * @return null|Translation
310 310
      */
311 311
     public function defaultMetaDescription()
312 312
     {
Please login to merge, or discard this patch.