@@ -395,7 +395,7 @@ |
||
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) |
@@ -99,7 +99,7 @@ discard block |
||
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 |
||
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) |
@@ -385,7 +385,7 @@ |
||
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 | { |
@@ -70,7 +70,7 @@ |
||
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 | */ |