@@ -856,7 +856,7 @@ |
||
| 856 | 856 | * Marks an item as failed and causes the indexer to skip the item in the |
| 857 | 857 | * next run. |
| 858 | 858 | * |
| 859 | - * @param int|Item $item Either the item's Index Queue |
|
| 859 | + * @param Item $item Either the item's Index Queue |
|
| 860 | 860 | * uid or the complete item |
| 861 | 861 | * @param string $errorMessage Error message |
| 862 | 862 | */ |
@@ -438,7 +438,7 @@ |
||
| 438 | 438 | * This method executes the requested commands and applies the changes to |
| 439 | 439 | * the template. |
| 440 | 440 | * |
| 441 | - * @param $actionResult |
|
| 441 | + * @param string $actionResult |
|
| 442 | 442 | * @return string Rendered plugin content |
| 443 | 443 | */ |
| 444 | 444 | abstract protected function render($actionResult); |
@@ -80,7 +80,7 @@ |
||
| 80 | 80 | /** |
| 81 | 81 | * Constructs label markers. |
| 82 | 82 | * |
| 83 | - * @return array Array of label markers. |
|
| 83 | + * @return string Array of label markers. |
|
| 84 | 84 | */ |
| 85 | 85 | protected function getLabelMarkers() |
| 86 | 86 | { |
@@ -165,10 +165,10 @@ |
||
| 165 | 165 | // direct access for small paths |
| 166 | 166 | case 1: |
| 167 | 167 | $this->data[$pathArray[0]] = $value; |
| 168 | - return; |
|
| 168 | + return; |
|
| 169 | 169 | case 2: |
| 170 | 170 | $this->data[$pathArray[0]][$pathArray[1]] = $value; |
| 171 | - return; |
|
| 171 | + return; |
|
| 172 | 172 | default: |
| 173 | 173 | $this->setDeepElementWithLoop($pathArray, $value); |
| 174 | 174 | } |
@@ -767,7 +767,6 @@ discard block |
||
| 767 | 767 | * Returns if a log message should be written when a page was indexed. |
| 768 | 768 | * |
| 769 | 769 | * plugin.tx_solr.logging.indexing.pageIndexed |
| 770 | - |
|
| 771 | 770 | * @param bool $defaultIfEmpty |
| 772 | 771 | * @return bool |
| 773 | 772 | */ |
@@ -781,7 +780,6 @@ discard block |
||
| 781 | 780 | * Returns if a log message should be written when the TYPO3 search markers are missing in the page. |
| 782 | 781 | * |
| 783 | 782 | * plugin.tx_solr.logging.indexing.missingTypo3SearchMarkers |
| 784 | - |
|
| 785 | 783 | * @param bool $defaultIfEmpty |
| 786 | 784 | * @return bool |
| 787 | 785 | */ |
@@ -809,7 +807,6 @@ discard block |
||
| 809 | 807 | * Indicates if the debug mode is enabled or not. |
| 810 | 808 | * |
| 811 | 809 | * plugin.tx_solr.enableDebugMode |
| 812 | - |
|
| 813 | 810 | * @param bool $defaultIfEmpty |
| 814 | 811 | * @return bool |
| 815 | 812 | */ |
@@ -604,7 +604,7 @@ discard block |
||
| 604 | 604 | * |
| 605 | 605 | * @param string $configurationName |
| 606 | 606 | * @param string $defaultIfEmpty |
| 607 | - * @return mixed |
|
| 607 | + * @return string |
|
| 608 | 608 | */ |
| 609 | 609 | public function getIndexQueueInitializerClassByConfigurationName($configurationName, $defaultIfEmpty = 'ApacheSolrForTypo3\\Solr\\IndexQueue\\Initializer\\Record') |
| 610 | 610 | { |
@@ -1309,7 +1309,7 @@ discard block |
||
| 1309 | 1309 | * plugin.tx_solr.search.query.allowEmptyQuery |
| 1310 | 1310 | * |
| 1311 | 1311 | * @param string $defaultIfEmpty |
| 1312 | - * @return string |
|
| 1312 | + * @return boolean |
|
| 1313 | 1313 | */ |
| 1314 | 1314 | public function getSearchQueryAllowEmptyQuery($defaultIfEmpty = '') |
| 1315 | 1315 | { |
@@ -1371,7 +1371,7 @@ discard block |
||
| 1371 | 1371 | * |
| 1372 | 1372 | * plugin.tx_solr.search.query.returnFields |
| 1373 | 1373 | * |
| 1374 | - * @param array $defaultIfEmpty |
|
| 1374 | + * @param string[] $defaultIfEmpty |
|
| 1375 | 1375 | * @return array |
| 1376 | 1376 | */ |
| 1377 | 1377 | public function getSearchQueryReturnFieldsAsArray($defaultIfEmpty = array()) |
@@ -1956,7 +1956,7 @@ discard block |
||
| 1956 | 1956 | * plugin.tx_solr.index.enableCommits |
| 1957 | 1957 | * |
| 1958 | 1958 | * @param bool $defaultIfEmpty |
| 1959 | - * @return bool |
|
| 1959 | + * @return boolean|null |
|
| 1960 | 1960 | */ |
| 1961 | 1961 | public function getEnableCommits($defaultIfEmpty = true) |
| 1962 | 1962 | { |
@@ -39,9 +39,9 @@ |
||
| 39 | 39 | */ |
| 40 | 40 | protected $configuration; |
| 41 | 41 | |
| 42 | - /** |
|
| 43 | - * @var string |
|
| 44 | - */ |
|
| 42 | + /** |
|
| 43 | + * @var string |
|
| 44 | + */ |
|
| 45 | 45 | protected $prefix; |
| 46 | 46 | |
| 47 | 47 | /** |
@@ -134,7 +134,7 @@ |
||
| 134 | 134 | /** |
| 135 | 135 | * Gets the last searched keywords from the database |
| 136 | 136 | * |
| 137 | - * @param int|bool $limit |
|
| 137 | + * @param integer $limit |
|
| 138 | 138 | * @return array An array containing the last searches of the current user |
| 139 | 139 | */ |
| 140 | 140 | protected function getLastSearchesFromDatabase($limit = false) |
@@ -236,7 +236,7 @@ discard block |
||
| 236 | 236 | * @param int $pageId Id of the (root) page to get the Solr configuration from. |
| 237 | 237 | * @param string $path The TypoScript configuration path to retrieve. |
| 238 | 238 | * @param bool $initializeTsfe Optionally initializes a full TSFE to get the configuration, defaults to FALSE |
| 239 | - * @param int|bool $language System language uid or FALSE to disable language usage, optional, defaults to 0 |
|
| 239 | + * @param integer $language System language uid or FALSE to disable language usage, optional, defaults to 0 |
|
| 240 | 240 | * @return TypoScriptConfiguration The Solr configuration for the requested tree. |
| 241 | 241 | */ |
| 242 | 242 | public static function getConfigurationFromPageId( |
@@ -311,9 +311,9 @@ discard block |
||
| 311 | 311 | |
| 312 | 312 | /** |
| 313 | 313 | * This function is used to retrieve the configuration from an existing TSFE instance |
| 314 | - * @param $pageId |
|
| 315 | - * @param $path |
|
| 316 | - * @param $language |
|
| 314 | + * @param integer $pageId |
|
| 315 | + * @param string $path |
|
| 316 | + * @param integer $language |
|
| 317 | 317 | * @return mixed |
| 318 | 318 | */ |
| 319 | 319 | private static function getConfigurationFromExistingTSFE($pageId, $path, $language) |
@@ -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) |