@@ -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) |
@@ -35,7 +35,7 @@ discard block |
||
| 35 | 35 | * |
| 36 | 36 | * @param string $viewHelperName The ViewHelper Class name (Fully qualified, like "TYPO3Fluid\Fluid\ViewHelpers\ForViewHelper") |
| 37 | 37 | * @param string $key Key of the data |
| 38 | - * @param mixed $value The value to store |
|
| 38 | + * @param boolean $value The value to store |
|
| 39 | 39 | * @return void |
| 40 | 40 | * @api |
| 41 | 41 | */ |
@@ -155,7 +155,7 @@ discard block |
||
| 155 | 155 | /** |
| 156 | 156 | * Clean up for serializing. |
| 157 | 157 | * |
| 158 | - * @return array |
|
| 158 | + * @return string[] |
|
| 159 | 159 | */ |
| 160 | 160 | public function __sleep() |
| 161 | 161 | { |