@@ -248,7 +248,7 @@ |
||
248 | 248 | |
249 | 249 | // find the currently used option for this facet |
250 | 250 | foreach ($filterParameters as $key => $filter) { |
251 | - list($filterName, ) = explode(':', $filter); |
|
251 | + list($filterName,) = explode(':', $filter); |
|
252 | 252 | |
253 | 253 | if ($filterName == $this->facetName) { |
254 | 254 | $indexToReplace = $key; |
@@ -212,7 +212,7 @@ |
||
212 | 212 | /** |
213 | 213 | * Check that a task is an instance of ReIndexTask |
214 | 214 | * |
215 | - * @param $task |
|
215 | + * @param AbstractTask $task |
|
216 | 216 | * @throws \LogicException |
217 | 217 | */ |
218 | 218 | protected function isTaskInstanceofReIndexTask($task) |
@@ -142,7 +142,7 @@ |
||
142 | 142 | /** |
143 | 143 | * Check that a task is an instance of IndexQueueWorkerTask |
144 | 144 | * |
145 | - * @param $task |
|
145 | + * @param AbstractTask $task |
|
146 | 146 | * @throws \LogicException |
147 | 147 | */ |
148 | 148 | protected function isTaskInstanceofIndexQueueWorkerTask($task) |
@@ -266,7 +266,7 @@ discard block |
||
266 | 266 | { |
267 | 267 | /** @var $registry Registry */ |
268 | 268 | $registry = GeneralUtility::makeInstance(Registry::class); |
269 | - $servers = (array) $registry->get('tx_solr', 'servers', []); |
|
269 | + $servers = (array)$registry->get('tx_solr', 'servers', []); |
|
270 | 270 | return $servers; |
271 | 271 | } |
272 | 272 | |
@@ -342,7 +342,7 @@ discard block |
||
342 | 342 | |
343 | 343 | if ($rootPageId == 'SITE_ROOT') { |
344 | 344 | $rootPageId = $this->rootPage['uid']; |
345 | - $pageIds[] = (int) $this->rootPage['uid']; |
|
345 | + $pageIds[] = (int)$this->rootPage['uid']; |
|
346 | 346 | } |
347 | 347 | |
348 | 348 | $recursionRootPageId = intval($rootPageId); |
@@ -391,7 +391,7 @@ discard block |
||
391 | 391 | $result = $GLOBALS['TYPO3_DB']->exec_SELECTquery('uid', 'pages', 'pid = ' . $recursionRootPageId . ' ' . BackendUtility::deleteClause('pages') . $initialPagesAdditionalWhereClause); |
392 | 392 | |
393 | 393 | while ($page = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($result)) { |
394 | - $pageIds[] = (int) $page['uid']; |
|
394 | + $pageIds[] = (int)$page['uid']; |
|
395 | 395 | |
396 | 396 | if ($maxDepth > 1) { |
397 | 397 | $pageIds = array_merge($pageIds, $this->getPages($page['uid'], $maxDepth - 1)); |