Completed
Pull Request — master (#457)
by Claus
03:11
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   -2 removed lines patch added patch discarded remove patch
@@ -159,7 +159,6 @@  discard block
 block discarded – undo
159 159
      * Convert a single ViewHelperNode into its cached representation. If the ViewHelper implements the "Compilable" facet,
160 160
      * the ViewHelper itself is asked for its cached PHP code representation. If not, a ViewHelper is built and then invoked.
161 161
      *
162
-     * @param ViewHelperNode $node
163 162
      * @return array
164 163
      * @see convert()
165 164
      */
@@ -315,7 +314,6 @@  discard block
 block discarded – undo
315 314
     }
316 315
 
317 316
     /**
318
-     * @param ArrayNode $node
319 317
      * @return array
320 318
      * @see convert()
321 319
      */
Please login to merge, or discard this patch.
src/Core/Parser/Sequencer.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -685,7 +685,7 @@  discard block
 block discarded – undo
685 685
     }
686 686
 
687 687
     /**
688
-     * @param \Iterator|Position[] $sequence
688
+     * @param \Iterator $sequence
689 689
      * @param ArgumentDefinition[] $definitions
690 690
      * @param bool $numeric
691 691
      * @return ArrayNode
@@ -838,7 +838,7 @@  discard block
 block discarded – undo
838 838
      * be a node as such - which is only necessary if the quoted expression
839 839
      * contains other (dynamic) values like an inline syntax.
840 840
      *
841
-     * @param \Iterator|Position[] $sequence
841
+     * @param \Iterator $sequence
842 842
      * @param int $leadingEscapes A backwards compatibility measure: when passed, this number of escapes must precede a closing quote for it to trigger node closing.
843 843
      * @param bool $allowArray
844 844
      * @return RootNode
Please login to merge, or discard this patch.