Completed
Pull Request — master (#9)
by
unknown
06:52 queued 04:16
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/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.