Completed
Pull Request — master (#457)
by Claus
02:33
created
src/View/TemplatePaths.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -395,7 +395,7 @@
 block discarded – undo
395 395
      * Sanitize a path, ensuring it is absolute and
396 396
      * if a directory, suffixed by a trailing slash.
397 397
      *
398
-     * @param string|array $path
398
+     * @param string $path
399 399
      * @return string
400 400
      */
401 401
     protected function sanitizePath($path)
Please login to merge, or discard this patch.
src/ViewHelpers/GroupedForViewHelper.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
      * @param array $arguments
100 100
      * @param \Closure $renderChildrenClosure
101 101
      * @param RenderingContextInterface $renderingContext
102
-     * @return mixed
102
+     * @return string
103 103
      */
104 104
     public static function renderStatic(array $arguments, \Closure $renderChildrenClosure, RenderingContextInterface $renderingContext)
105 105
     {
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
      *
138 138
      * @param array $elements The array / traversable object to be grouped
139 139
      * @param string $groupBy Group by this property
140
-     * @return array The grouped array in the form array('keys' => array('key1' => [key1value], 'key2' => [key2value], ...), 'values' => array('key1' => array([key1value] => [element1]), ...), ...)
140
+     * @return string The grouped array in the form array('keys' => array('key1' => [key1value], 'key2' => [key2value], ...), 'values' => array('key1' => array([key1value] => [element1]), ...), ...)
141 141
      * @throws ViewHelper\Exception
142 142
      */
143 143
     protected static function groupElements(array $elements, $groupBy)
Please login to merge, or discard this patch.
src/Core/ViewHelper/AbstractViewHelper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -385,7 +385,7 @@
 block discarded – undo
385 385
      * @param array $arguments
386 386
      * @param \Closure $renderChildrenClosure
387 387
      * @param RenderingContextInterface $renderingContext
388
-     * @return mixed
388
+     * @return string
389 389
      */
390 390
     public static function renderStatic(array $arguments, \Closure $renderChildrenClosure, RenderingContextInterface $renderingContext)
391 391
     {
Please login to merge, or discard this patch.
src/Core/Parser/SyntaxTree/Expression/TernaryExpressionNode.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
     }
71 71
 
72 72
     /**
73
-     * @param mixed $candidate
73
+     * @param string $candidate
74 74
      * @param RenderingContextInterface $renderingContext
75 75
      * @return mixed
76 76
      */
Please login to merge, or discard this patch.
src/Core/Compiler/NodeConverter.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -313,7 +313,6 @@
 block discarded – undo
313 313
     }
314 314
 
315 315
     /**
316
-     * @param ArrayNode $node
317 316
      * @return array
318 317
      * @see convert()
319 318
      */
Please login to merge, or discard this patch.
src/Core/Parser/Sequencer.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -197,7 +197,7 @@  discard block
 block discarded – undo
197 197
     }
198 198
 
199 199
     /**
200
-     * @param \Iterator|string[]|null[] $sequence
200
+     * @param \Iterator $sequence
201 201
      * @return NodeInterface|null
202 202
      */
203 203
     protected function sequenceTagNode(\Iterator $sequence): ?NodeInterface
@@ -367,7 +367,7 @@  discard block
 block discarded – undo
367 367
     }
368 368
 
369 369
     /**
370
-     * @param \Iterator|string[]|null[] $sequence
370
+     * @param \Iterator $sequence
371 371
      * @param bool $allowArray
372 372
      * @return NodeInterface
373 373
      */
@@ -682,7 +682,7 @@  discard block
 block discarded – undo
682 682
     }
683 683
 
684 684
     /**
685
-     * @param \Iterator|string[]|null[] $sequence
685
+     * @param \Iterator $sequence
686 686
      * @param ArgumentDefinition[] $definitions
687 687
      * @param bool $numeric
688 688
      * @return ArrayNode
@@ -835,7 +835,7 @@  discard block
 block discarded – undo
835 835
      * be a node as such - which is only necessary if the quoted expression
836 836
      * contains other (dynamic) values like an inline syntax.
837 837
      *
838
-     * @param \Iterator|string[]|null[] $sequence
838
+     * @param \Iterator $sequence
839 839
      * @param int $leadingEscapes A backwards compatibility measure: when passed, this number of escapes must precede a closing quote for it to trigger node closing.
840 840
      * @param bool $allowArray
841 841
      * @return RootNode
Please login to merge, or discard this patch.