@@ -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 |
@@ -219,7 +219,7 @@ |
||
219 | 219 | public function getIncludeInUsedFacets() |
220 | 220 | { |
221 | 221 | |
222 | - return ((int) $this->getFacetSettingOrDefaultValue('includeInUsedFacets', 1)) === 1; |
|
222 | + return ((int)$this->getFacetSettingOrDefaultValue('includeInUsedFacets', 1)) === 1; |
|
223 | 223 | } |
224 | 224 | |
225 | 225 | /** |
@@ -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); |
@@ -187,7 +187,7 @@ |
||
187 | 187 | } |
188 | 188 | if ($this->extensionConfiguration->getIsUseConfigurationTrackRecordsOutsideSiteroot()) { |
189 | 189 | $recordPageId = $this->getRecordPageId($table, $uid); |
190 | - if($recordPageId === 0) { |
|
190 | + if ($recordPageId === 0) { |
|
191 | 191 | return $rootPages; |
192 | 192 | } |
193 | 193 | $alternativeSiteRoots = $this->getAlternativeSiteRootPagesIds($table, $uid, $recordPageId); |