@@ -49,7 +49,7 @@ |
||
| 49 | 49 | * This method decides if the condition is true or false |
| 50 | 50 | * |
| 51 | 51 | * @param array $arguments ViewHelper arguments to evaluate the condition for this ViewHelper. |
| 52 | - * @return bool |
|
| 52 | + * @return double |
|
| 53 | 53 | */ |
| 54 | 54 | protected static function evaluateCondition($arguments = null) |
| 55 | 55 | { |
@@ -80,7 +80,7 @@ |
||
| 80 | 80 | { |
| 81 | 81 | /** @var $service \TYPO3\CMS\Extbase\Service\FlexFormService::class */ |
| 82 | 82 | $service = GeneralUtility::makeInstance(\TYPO3\CMS\Extbase\Service\FlexFormService::class); |
| 83 | - $this->flexformData = $service->convertFlexFormContentToArray($contentElement['pi_flexform']); |
|
| 83 | + $this->flexformData = $service->convertFlexFormContentToArray($contentElement['pi_flexform']); |
|
| 84 | 84 | $this->pluginContentElement = $contentElement; |
| 85 | 85 | } |
| 86 | 86 | |
@@ -53,9 +53,9 @@ |
||
| 53 | 53 | */ |
| 54 | 54 | public function initializeView(ViewInterface $view) |
| 55 | 55 | { |
| 56 | - if($view instanceof TemplateView) { |
|
| 56 | + if ($view instanceof TemplateView) { |
|
| 57 | 57 | $customTemplate = $this->getCustomTemplateFromConfiguration(); |
| 58 | - if($customTemplate === '') { |
|
| 58 | + if ($customTemplate === '') { |
|
| 59 | 59 | return; |
| 60 | 60 | } |
| 61 | 61 | $view->setTemplatePathAndFilename($customTemplate); |