@@ -312,7 +312,7 @@ discard block |
||
| 312 | 312 | * @param string $arguments Arguments string, not yet parsed |
| 313 | 313 | * @param boolean $selfclosing true, if the tag is a self-closing tag. |
| 314 | 314 | * @param string $templateElement The template code containing the ViewHelper call |
| 315 | - * @return ViewHelperNode|NULL |
|
| 315 | + * @return NodeInterface|null |
|
| 316 | 316 | */ |
| 317 | 317 | protected function openingViewHelperTagHandler(ParsingState $state, $namespaceIdentifier, $methodIdentifier, $arguments, $selfclosing, $templateElement) |
| 318 | 318 | { |
@@ -344,7 +344,7 @@ discard block |
||
| 344 | 344 | * @param string $namespaceIdentifier Namespace identifier - being looked up in $this->namespaces |
| 345 | 345 | * @param string $methodIdentifier Method identifier |
| 346 | 346 | * @param array $argumentsObjectTree Arguments object tree |
| 347 | - * @return ViewHelperNode|NULL An instance of ViewHelperNode if identity was valid - NULL if the namespace/identity was not registered |
|
| 347 | + * @return null|NodeInterface An instance of ViewHelperNode if identity was valid - NULL if the namespace/identity was not registered |
|
| 348 | 348 | * @throws Exception |
| 349 | 349 | */ |
| 350 | 350 | protected function initializeViewHelperAndAddItToStack(ParsingState $state, $namespaceIdentifier, $methodIdentifier, $argumentsObjectTree) |
@@ -630,7 +630,7 @@ discard block |
||
| 630 | 630 | * adds it to the current node. |
| 631 | 631 | * |
| 632 | 632 | * @param ParsingState $state The current parsing state |
| 633 | - * @param array $arrayText The array as string. |
|
| 633 | + * @param NodeInterface[] $arrayText The array as string. |
|
| 634 | 634 | * @return void |
| 635 | 635 | */ |
| 636 | 636 | protected function arrayHandler(ParsingState $state, $arrayText) |
@@ -87,7 +87,7 @@ discard block |
||
| 87 | 87 | } |
| 88 | 88 | |
| 89 | 89 | /** |
| 90 | - * @param mixed $subject |
|
| 90 | + * @param VariableProviderInterface $subject |
|
| 91 | 91 | * @param string $propertyPath |
| 92 | 92 | * @return array |
| 93 | 93 | */ |
@@ -113,7 +113,7 @@ discard block |
||
| 113 | 113 | /** |
| 114 | 114 | * @param mixed $subject |
| 115 | 115 | * @param string $propertyPath |
| 116 | - * @return array |
|
| 116 | + * @return string |
|
| 117 | 117 | */ |
| 118 | 118 | protected function resolveSubVariableReferences($subject, $propertyPath) |
| 119 | 119 | { |
@@ -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) |