@@ -67,7 +67,7 @@ |
||
| 67 | 67 | /** @var $resultSet SearchResultSet */ |
| 68 | 68 | $resultSet = $arguments['resultSet']; |
| 69 | 69 | |
| 70 | - $maximumScore = $document->__solr_grouping_groupMaximumScore ? : $resultSet->getUsedSearch()->getMaximumResultScore(); |
|
| 70 | + $maximumScore = $document->__solr_grouping_groupMaximumScore ?: $resultSet->getUsedSearch()->getMaximumResultScore(); |
|
| 71 | 71 | $content = 0; |
| 72 | 72 | |
| 73 | 73 | if ($maximumScore <= 0) { |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | * @param string $time |
| 25 | 25 | * @param \DateTimeZone $timezone |
| 26 | 26 | */ |
| 27 | - public function __construct($time = 'now', \DateTimeZone $timezone=null) |
|
| 27 | + public function __construct($time = 'now', \DateTimeZone $timezone = null) |
|
| 28 | 28 | { |
| 29 | 29 | parent::__construct($time, $timezone); |
| 30 | 30 | } |
@@ -90,7 +90,7 @@ |
||
| 90 | 90 | { |
| 91 | 91 | $resultSetService = $this->initializeSearch($controllerContext->getTypoScriptConfiguration()); |
| 92 | 92 | $lastResult = $resultSetService->getLastResultSet(); |
| 93 | - if(!is_null($lastResult)) { |
|
| 93 | + if (!is_null($lastResult)) { |
|
| 94 | 94 | $controllerContext->setSearchResultSet($lastResult); |
| 95 | 95 | } |
| 96 | 96 | |
@@ -34,7 +34,7 @@ |
||
| 34 | 34 | { |
| 35 | 35 | parent::initializeArguments(); |
| 36 | 36 | $this->registerArgument('sortingName', 'string', 'The sortingName', true); |
| 37 | - $this->registerArgument('sortingDirection','string', 'The sortingDirection', true); |
|
| 37 | + $this->registerArgument('sortingDirection', 'string', 'The sortingDirection', true); |
|
| 38 | 38 | } |
| 39 | 39 | |
| 40 | 40 | /** |
@@ -65,7 +65,7 @@ |
||
| 65 | 65 | */ |
| 66 | 66 | protected static function getUsedSearchRequestFromRenderingContext(RenderingContextInterface $renderingContext) { |
| 67 | 67 | $resultSet = static::getUsedSearchResultSetFromRenderingContext($renderingContext); |
| 68 | - if(!$resultSet instanceof SearchResultSet) { |
|
| 68 | + if (!$resultSet instanceof SearchResultSet) { |
|
| 69 | 69 | throw new \InvalidArgumentException("The variable resultSet need to be defined in the scope of " . static::class); |
| 70 | 70 | } |
| 71 | 71 | |