@@ -370,7 +370,7 @@ |
||
| 370 | 370 | )); |
| 371 | 371 | |
| 372 | 372 | // restore |
| 373 | - $this->configuration= $backupConfiguration; |
|
| 373 | + $this->configuration = $backupConfiguration; |
|
| 374 | 374 | $parentContentObject->data = $backupRecord; |
| 375 | 375 | } |
| 376 | 376 | |
@@ -155,7 +155,7 @@ discard block |
||
| 155 | 155 | */ |
| 156 | 156 | public function __construct($keywords, $solrConfiguration = null) |
| 157 | 157 | { |
| 158 | - $keywords = (string) $keywords; |
|
| 158 | + $keywords = (string)$keywords; |
|
| 159 | 159 | if ($solrConfiguration == null) { |
| 160 | 160 | $this->solrConfiguration = Util::getSolrConfiguration(); |
| 161 | 161 | } else { |
@@ -676,7 +676,7 @@ discard block |
||
| 676 | 676 | */ |
| 677 | 677 | public function getGroupFields() |
| 678 | 678 | { |
| 679 | - return (array) $this->getQueryParameter('group.field', []); |
|
| 679 | + return (array)$this->getQueryParameter('group.field', []); |
|
| 680 | 680 | } |
| 681 | 681 | |
| 682 | 682 | /** |
@@ -699,7 +699,7 @@ discard block |
||
| 699 | 699 | */ |
| 700 | 700 | public function getGroupSortings() |
| 701 | 701 | { |
| 702 | - return (array) $this->getQueryParameter('group.sort', []); |
|
| 702 | + return (array)$this->getQueryParameter('group.sort', []); |
|
| 703 | 703 | } |
| 704 | 704 | |
| 705 | 705 | // faceting |
@@ -725,7 +725,7 @@ discard block |
||
| 725 | 725 | */ |
| 726 | 726 | public function getGroupQueries() |
| 727 | 727 | { |
| 728 | - return (array) $this->getQueryParameter('group.query', []); |
|
| 728 | + return (array)$this->getQueryParameter('group.query', []); |
|
| 729 | 729 | } |
| 730 | 730 | |
| 731 | 731 | /** |
@@ -193,7 +193,7 @@ discard block |
||
| 193 | 193 | * |
| 194 | 194 | * @param string $msg |
| 195 | 195 | * @param int $severity |
| 196 | - * @param mixed $dataVar |
|
| 196 | + * @param string[] $dataVar |
|
| 197 | 197 | */ |
| 198 | 198 | protected function writeDevLog($msg, $severity = 0, $dataVar = false) |
| 199 | 199 | { |
@@ -1003,7 +1003,7 @@ discard block |
||
| 1003 | 1003 | /** |
| 1004 | 1004 | * Sets the fields to return by a query. |
| 1005 | 1005 | * |
| 1006 | - * @param array|string $fieldList an array or comma-separated list of field names |
|
| 1006 | + * @param string $fieldList an array or comma-separated list of field names |
|
| 1007 | 1007 | * @throws \UnexpectedValueException on parameters other than comma-separated lists and arrays |
| 1008 | 1008 | */ |
| 1009 | 1009 | public function setFieldList($fieldList = array('*', 'score')) |
@@ -1079,7 +1079,7 @@ discard block |
||
| 1079 | 1079 | * |
| 1080 | 1080 | * This query supports the complete Lucene Query Language. |
| 1081 | 1081 | * |
| 1082 | - * @param mixed $alternativeQuery String alternative query or boolean FALSE to disable / reset the q.alt parameter. |
|
| 1082 | + * @param string $alternativeQuery String alternative query or boolean FALSE to disable / reset the q.alt parameter. |
|
| 1083 | 1083 | * @see http://wiki.apache.org/solr/DisMaxQParserPlugin#q.alt |
| 1084 | 1084 | */ |
| 1085 | 1085 | public function setAlternativeQuery($alternativeQuery) |
@@ -168,7 +168,7 @@ |
||
| 168 | 168 | } |
| 169 | 169 | |
| 170 | 170 | /** |
| 171 | - * @param $table |
|
| 171 | + * @param string $table |
|
| 172 | 172 | * @param $uid |
| 173 | 173 | * @param $changedFields |
| 174 | 174 | * @param $indexQueue |
@@ -27,7 +27,6 @@ |
||
| 27 | 27 | use ApacheSolrForTypo3\Solr\IndexQueue\Queue; |
| 28 | 28 | use ApacheSolrForTypo3\Solr\Tests\Integration\IntegrationTest; |
| 29 | 29 | use ApacheSolrForTypo3\Solr\IndexQueue\RecordMonitor; |
| 30 | -use TYPO3\CMS\Backend\Utility\BackendUtility; |
|
| 31 | 30 | use TYPO3\CMS\Core\DataHandling\DataHandler; |
| 32 | 31 | use TYPO3\CMS\Core\Utility\GeneralUtility; |
| 33 | 32 | |