Passed
Push — master ( d704d5...71bebb )
by Chauncey
01:20 queued 12s
created
src/Charcoal/Cms/Support/LocaleAwareTrait.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -168,7 +168,7 @@  discard block
 block discarded – undo
168 168
      * Note: The application's locale is already modified and will be reset
169 169
      * after processing all available languages.
170 170
      *
171
-     * @param  mixed $context      The translated {@see \Charcoal\Model\ModelInterface model}
171
+     * @param  \Charcoal\Model\ModelInterface|null $context      The translated {@see \Charcoal\Model\ModelInterface model}
172 172
      *     or array-accessible structure.
173 173
      * @param  array $localeStruct The currently iterated language.
174 174
      * @return array Returns a link structure.
@@ -213,7 +213,7 @@  discard block
 block discarded – undo
213 213
     /**
214 214
      * Yield the alternate translations associated with the current route.
215 215
      *
216
-     * @return Generator|null
216
+     * @return \Generator
217 217
      */
218 218
     public function alternateTranslations()
219 219
     {
Please login to merge, or discard this patch.
src/Charcoal/Cms/AbstractNews.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -182,7 +182,7 @@  discard block
 block discarded – undo
182 182
     }
183 183
 
184 184
     /**
185
-     * @param  string|DateTimeInterface|null $newsDate The news date.
185
+     * @param  string $newsDate The news date.
186 186
      * @throws InvalidArgumentException If the timestamp is invalid.
187 187
      * @return self
188 188
      */
@@ -307,7 +307,7 @@  discard block
 block discarded – undo
307 307
 
308 308
     /**
309 309
      * @see MetatagTrait::defaultMetaDescription()
310
-     * @return Translation|string|null
310
+     * @return null|Translation
311 311
      */
312 312
     public function defaultMetaDescription()
313 313
     {
Please login to merge, or discard this patch.