Test Failed
Pull Request — master (#9)
by
unknown
07:45
created
src/Charcoal/Cms/AbstractWebTemplate.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -166,7 +166,7 @@
 block discarded – undo
166 166
     /**
167 167
      * Retrieve the canonical URI of the object.
168 168
      *
169
-     * @return \Psr\Http\Message\UriInterface|string|null
169
+     * @return UriInterface|null
170 170
      */
171 171
     public function canonicalUrl()
172 172
     {
Please login to merge, or discard this patch.
src/Charcoal/Cms/Support/ContextualTemplateTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
      *
59 59
      * @param  string $className The class name of the section model.
60 60
      * @throws InvalidArgumentException If the class name is not a string.
61
-     * @return AbstractPropertyDisplay Chainable
61
+     * @return ContextualTemplateTrait Chainable
62 62
      */
63 63
     public function setGenericContextClass($className)
64 64
     {
Please login to merge, or discard this patch.
src/Charcoal/Cms/Support/DocumentTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@
 block discarded – undo
111 111
      * @param  string $value The value of the current iteration.
112 112
      * @param  string $key   The key/index of the current iteration.
113 113
      * @param  array  $parts The document title parts.
114
-     * @return mixed  The mutated value of the current iteration.
114
+     * @return string  The mutated value of the current iteration.
115 115
      *     If $value is equal to FALSE (converted to boolean; excluding "0"), it is excluded from the document title.
116 116
      *     If the method returns TRUE, the original $value is included into the document title.
117 117
      */
Please login to merge, or discard this patch.
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.