Test Failed
Pull Request — master (#2)
by
unknown
12:11
created
src/Charcoal/Cms/Support/Traits/EventManagerAwareTrait.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
     /**
28 28
      * Formatted event list
29 29
      * Return the entries for the current page
30
-     * @return \Generator|void
30
+     * @return \Generator
31 31
      */
32 32
     public function eventsList()
33 33
     {
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
     /**
42 42
      * Formatted event archive list
43 43
      * Returns the entries for the current page.
44
-     * @return \Generator|void
44
+     * @return \Generator
45 45
      */
46 46
     public function eventArchiveList()
47 47
     {
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
     }
74 74
 
75 75
     /**
76
-     * @return mixed
76
+     * @return \Generator
77 77
      */
78 78
     public function featEvents()
79 79
     {
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
 
123 123
     /**
124 124
      * Amount of events (total)
125
-     * @return integer How many events?
125
+     * @return boolean How many events?
126 126
      */
127 127
     public function numEvent()
128 128
     {
Please login to merge, or discard this patch.
src/Charcoal/Cms/Support/Traits/NewsManagerAwareTrait.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
     /**
33 33
      * Formatted news list
34 34
      * Returns the entries for the current page.
35
-     * @return \Generator|void
35
+     * @return \Generator
36 36
      */
37 37
     public function newsList()
38 38
     {
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
     /**
46 46
      * Formatted news archive list
47 47
      * Returns the entries for the current page.
48
-     * @return \Generator|void
48
+     * @return \Generator
49 49
      */
50 50
     public function newsArchiveList()
51 51
     {
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
 
125 125
     /**
126 126
      * Amount of news (total)
127
-     * @return integer How many news?
127
+     * @return boolean How many news?
128 128
      */
129 129
     public function numNews()
130 130
     {
Please login to merge, or discard this patch.
src/Charcoal/Cms/Support/Traits/SectionLoaderAwareTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
71 71
 
72 72
     /**
73 73
      * Gets latest route for the given slug.
74
-     * @return string The latest url.
74
+     * @return \Closure The latest url.
75 75
      */
76 76
     public function routes()
77 77
     {
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
@@ -230,7 +230,7 @@  discard block
 block discarded – undo
230 230
     }
231 231
 
232 232
     /**
233
-     * @param  string|DateTimeInterface $startDate Event starting date.
233
+     * @param  string $startDate Event starting date.
234 234
      * @throws InvalidArgumentException If the timestamp is invalid.
235 235
      * @return self
236 236
      */
@@ -263,7 +263,7 @@  discard block
 block discarded – undo
263 263
     }
264 264
 
265 265
     /**
266
-     * @param  string|DateTimeInterface $endDate Event end date.
266
+     * @param  null|DateTimeInterface $endDate Event end date.
267 267
      * @throws InvalidArgumentException If the timestamp is invalid.
268 268
      * @return self
269 269
      */
@@ -319,7 +319,7 @@  discard block
 block discarded – undo
319 319
     }
320 320
 
321 321
     /**
322
-     * @return Translation|string|null
322
+     * @return null|Translation
323 323
      */
324 324
     public function defaultMetaDescription()
325 325
     {
Please login to merge, or discard this patch.
src/Charcoal/Cms/Config/NewsConfig.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
     }
60 60
 
61 61
     /**
62
-     * @return boolean Entry cycle.
62
+     * @return string Entry cycle.
63 63
      */
64 64
     public function entryCycle()
65 65
     {
Please login to merge, or discard this patch.
src/Charcoal/Cms/Support/Helpers/DateHelper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -263,7 +263,7 @@
 block discarded – undo
263 263
     }
264 264
 
265 265
     /**
266
-     * @param mixed $format DateTime to be formatted.
266
+     * @param string $format DateTime to be formatted.
267 267
      * @return mixed
268 268
      */
269 269
     private function crossPlatformFormat($format)
Please login to merge, or discard this patch.