@@ -143,6 +143,7 @@ |
||
| 143 | 143 | * characters. |
| 144 | 144 | * |
| 145 | 145 | * @param string String to clean |
| 146 | + * @param string $content |
|
| 146 | 147 | * @return string String cleaned from tags and special whitespace characters |
| 147 | 148 | */ |
| 148 | 149 | public static function cleanContent($content) |
@@ -99,7 +99,7 @@ |
||
| 99 | 99 | * Indexes an item from the indexing queue. |
| 100 | 100 | * |
| 101 | 101 | * @param Item $item An index queue item |
| 102 | - * @return Apache_Solr_Response The Apache Solr response |
|
| 102 | + * @return boolean The Apache Solr response |
|
| 103 | 103 | */ |
| 104 | 104 | public function index(Item $item) |
| 105 | 105 | { |
@@ -350,6 +350,9 @@ |
||
| 350 | 350 | } |
| 351 | 351 | } |
| 352 | 352 | |
| 353 | + /** |
|
| 354 | + * @param string $key |
|
| 355 | + */ |
|
| 353 | 356 | public function hasIndexingProperty($key) |
| 354 | 357 | { |
| 355 | 358 | $this->loadIndexingProperties(); |
@@ -52,7 +52,7 @@ |
||
| 52 | 52 | /** |
| 53 | 53 | * Turns a JSON encoded result string back into its PHP representation. |
| 54 | 54 | * |
| 55 | - * @param string $jsonEncodedResults JSON encoded result string |
|
| 55 | + * @param string $jsonEncodedResponse JSON encoded result string |
|
| 56 | 56 | * @return array|boolean An array of action => result pairs or FALSE if the response could not be decoded |
| 57 | 57 | */ |
| 58 | 58 | public static function getResultsFromJson($jsonEncodedResponse) |
@@ -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 | { |
@@ -64,7 +64,7 @@ |
||
| 64 | 64 | $markers = $this->getLabelMarkers(); |
| 65 | 65 | |
| 66 | 66 | if ($this->parentPlugin->typoScriptConfiguration->getSearchSpellcheckingSearchUsingSpellCheckerSuggestion()) { |
| 67 | - $suggestionResults = $this->getSuggestionResults(); |
|
| 67 | + $suggestionResults = $this->getSuggestionResults(); |
|
| 68 | 68 | $markers['suggestion_results'] = $suggestionResults; |
| 69 | 69 | $markers['has_suggestion_results'] = trim($suggestionResults) !== ''; |
| 70 | 70 | } |
@@ -26,17 +26,11 @@ |
||
| 26 | 26 | |
| 27 | 27 | use ApacheSolrForTypo3\Solr\CommandResolver; |
| 28 | 28 | use ApacheSolrForTypo3\Solr\Domain\Search\ResultSet\SearchResultSet; |
| 29 | -use ApacheSolrForTypo3\Solr\Domain\Search\ResultSet\SearchResultSetService; |
|
| 30 | 29 | use ApacheSolrForTypo3\Solr\Domain\Search\SearchRequest; |
| 31 | 30 | use ApacheSolrForTypo3\Solr\Plugin\CommandPluginBase; |
| 32 | -use ApacheSolrForTypo3\Solr\Plugin\PluginAware; |
|
| 33 | 31 | use ApacheSolrForTypo3\Solr\Plugin\PluginCommand; |
| 34 | -use ApacheSolrForTypo3\Solr\Query; |
|
| 35 | -use ApacheSolrForTypo3\Solr\Response\Processor\ResponseProcessor; |
|
| 36 | -use ApacheSolrForTypo3\Solr\Search\QueryAware; |
|
| 37 | 32 | use ApacheSolrForTypo3\Solr\System\Configuration\TypoScriptConfiguration; |
| 38 | 33 | use ApacheSolrForTypo3\Solr\Template; |
| 39 | -use ApacheSolrForTypo3\Solr\Util; |
|
| 40 | 34 | use TYPO3\CMS\Core\Utility\GeneralUtility; |
| 41 | 35 | |
| 42 | 36 | /** |
@@ -941,7 +941,7 @@ |
||
| 941 | 941 | /** |
| 942 | 942 | * Sets the fields to return by a query. |
| 943 | 943 | * |
| 944 | - * @param array|string $fieldList an array or comma-separated list of field names |
|
| 944 | + * @param string $fieldList an array or comma-separated list of field names |
|
| 945 | 945 | * @throws \UnexpectedValueException on parameters other than comma-separated lists and arrays |
| 946 | 946 | */ |
| 947 | 947 | public function setFieldList($fieldList = array('*', 'score')) |