@@ -169,7 +169,7 @@ |
||
169 | 169 | * |
170 | 170 | * @param ContentObjectRenderer $parentObject parent content object |
171 | 171 | */ |
172 | - public function postProcessContentObjectInitialization(ContentObjectRenderer &$parentObject) |
|
172 | + public function postProcessContentObjectInitialization(ContentObjectRenderer & $parentObject) |
|
173 | 173 | { |
174 | 174 | if (!empty($parentObject->currentRecord)) { |
175 | 175 | list($table) = explode(':', $parentObject->currentRecord); |
@@ -270,7 +270,7 @@ |
||
270 | 270 | $queueItemsOfExistingMountPoints = $GLOBALS['TYPO3_DB']->exec_SELECTgetRows( |
271 | 271 | 'COUNT(*) AS queueItemCount,item_uid', |
272 | 272 | 'tx_solr_indexqueue_item', |
273 | - 'item_type="pages" AND pages_mountidentifier = '. $identifier, |
|
273 | + 'item_type="pages" AND pages_mountidentifier = ' . $identifier, |
|
274 | 274 | 'item_uid', |
275 | 275 | '', |
276 | 276 | '', |
@@ -136,9 +136,9 @@ |
||
136 | 136 | $this->rootPageUid = $itemMetaData['root']; |
137 | 137 | $this->type = $itemMetaData['item_type']; |
138 | 138 | $this->recordUid = $itemMetaData['item_uid']; |
139 | - $this->mountPointIdentifier = (string) empty($itemMetaData['pages_mountidentifier']) ? '' : $itemMetaData['pages_mountidentifier']; |
|
139 | + $this->mountPointIdentifier = (string)empty($itemMetaData['pages_mountidentifier']) ? '' : $itemMetaData['pages_mountidentifier']; |
|
140 | 140 | $this->changed = $itemMetaData['changed']; |
141 | - $this->errors = (string) empty($itemMetaData['errors']) ? '' : $itemMetaData['errors']; |
|
141 | + $this->errors = (string)empty($itemMetaData['errors']) ? '' : $itemMetaData['errors']; |
|
142 | 142 | |
143 | 143 | $this->indexingConfigurationName = $itemMetaData['indexing_configuration']; |
144 | 144 | $this->hasIndexingProperties = (boolean)$itemMetaData['has_indexing_properties']; |
@@ -123,7 +123,7 @@ |
||
123 | 123 | |
124 | 124 | if ($coresReloaded) { |
125 | 125 | $this->addFlashMessage( |
126 | - 'Core configuration reloaded ('.implode(', ', $reloadedCores).').', |
|
126 | + 'Core configuration reloaded (' . implode(', ', $reloadedCores) . ').', |
|
127 | 127 | '', |
128 | 128 | FlashMessage::OK |
129 | 129 | ); |
@@ -80,7 +80,7 @@ |
||
80 | 80 | * |
81 | 81 | * @param string|null $serializedModuleData |
82 | 82 | */ |
83 | - private function unsetModuleDataIfCanNotBeSerialized(string &$serializedModuleData = null) |
|
83 | + private function unsetModuleDataIfCanNotBeSerialized(string & $serializedModuleData = null) |
|
84 | 84 | { |
85 | 85 | if (!isset($serializedModuleData)) { |
86 | 86 | $serializedModuleData = ''; |
@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | { |
47 | 47 | $parser = $this->objectManager->get($this->getParserClassName()); |
48 | 48 | if (!$parser instanceof FacetParserInterface) { |
49 | - throw new InvalidFacetPackageException('Invalid parser for package ' . __CLASS__ ); |
|
49 | + throw new InvalidFacetPackageException('Invalid parser for package ' . __CLASS__); |
|
50 | 50 | } |
51 | 51 | return $parser; |
52 | 52 | } |
@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | { |
67 | 67 | $urlDecoder = $this->objectManager->get($this->getUrlDecoderClassName()); |
68 | 68 | if (!$urlDecoder instanceof FacetUrlDecoderInterface) { |
69 | - throw new InvalidUrlDecoderException('Invalid urldecoder for package ' . __CLASS__ ); |
|
69 | + throw new InvalidUrlDecoderException('Invalid urldecoder for package ' . __CLASS__); |
|
70 | 70 | } |
71 | 71 | return $urlDecoder; |
72 | 72 | } |
@@ -85,8 +85,8 @@ discard block |
||
85 | 85 | public function getQueryBuilder() |
86 | 86 | { |
87 | 87 | $urlDecoder = $this->objectManager->get($this->getQueryBuilderClassName()); |
88 | - if(!$urlDecoder instanceof FacetQueryBuilderInterface) { |
|
89 | - throw new InvalidQueryBuilderException('Invalid querybuilder for package ' . __CLASS__ ); |
|
88 | + if (!$urlDecoder instanceof FacetQueryBuilderInterface) { |
|
89 | + throw new InvalidQueryBuilderException('Invalid querybuilder for package ' . __CLASS__); |
|
90 | 90 | } |
91 | 91 | return $urlDecoder; |
92 | 92 | } |
@@ -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); |