@@ -141,6 +141,7 @@ |
||
| 141 | 141 | * characters. |
| 142 | 142 | * |
| 143 | 143 | * @param string String to clean |
| 144 | + * @param string $content |
|
| 144 | 145 | * @return string String cleaned from tags and special whitespace characters |
| 145 | 146 | */ |
| 146 | 147 | public static function cleanContent($content) |
@@ -95,7 +95,7 @@ |
||
| 95 | 95 | * Indexes an item from the indexing queue. |
| 96 | 96 | * |
| 97 | 97 | * @param Item $item An index queue item |
| 98 | - * @return Apache_Solr_Response The Apache Solr response |
|
| 98 | + * @return boolean The Apache Solr response |
|
| 99 | 99 | */ |
| 100 | 100 | public function index(Item $item) |
| 101 | 101 | { |
@@ -347,6 +347,9 @@ |
||
| 347 | 347 | } |
| 348 | 348 | } |
| 349 | 349 | |
| 350 | + /** |
|
| 351 | + * @param string $key |
|
| 352 | + */ |
|
| 350 | 353 | public function hasIndexingProperty($key) |
| 351 | 354 | { |
| 352 | 355 | $this->loadIndexingProperties(); |
@@ -202,7 +202,7 @@ discard block |
||
| 202 | 202 | /** |
| 203 | 203 | * Generates the headers to be send with the request. |
| 204 | 204 | * |
| 205 | - * @return array Array of HTTP headers. |
|
| 205 | + * @return string[] Array of HTTP headers. |
|
| 206 | 206 | */ |
| 207 | 207 | public function getHeaders() |
| 208 | 208 | { |
@@ -322,7 +322,7 @@ discard block |
||
| 322 | 322 | * Sets a request's parameter and its value. |
| 323 | 323 | * |
| 324 | 324 | * @param string $parameter Parameter name |
| 325 | - * @param mixed $value Parameter value. |
|
| 325 | + * @param string $value Parameter value. |
|
| 326 | 326 | */ |
| 327 | 327 | public function setParameter($parameter, $value) |
| 328 | 328 | { |
@@ -49,7 +49,7 @@ |
||
| 49 | 49 | /** |
| 50 | 50 | * Turns a JSON encoded result string back into its PHP representation. |
| 51 | 51 | * |
| 52 | - * @param string $jsonEncodedResults JSON encoded result string |
|
| 52 | + * @param string $jsonEncodedResponse JSON encoded result string |
|
| 53 | 53 | * @return array|bool An array of action => result pairs or FALSE if the response could not be decoded |
| 54 | 54 | */ |
| 55 | 55 | public static function getResultsFromJson($jsonEncodedResponse) |
@@ -861,7 +861,7 @@ |
||
| 861 | 861 | * Marks an item as failed and causes the indexer to skip the item in the |
| 862 | 862 | * next run. |
| 863 | 863 | * |
| 864 | - * @param int|Item $item Either the item's Index Queue |
|
| 864 | + * @param Item $item Either the item's Index Queue |
|
| 865 | 865 | * uid or the complete item |
| 866 | 866 | * @param string $errorMessage Error message |
| 867 | 867 | */ |
@@ -436,7 +436,7 @@ |
||
| 436 | 436 | * This method executes the requested commands and applies the changes to |
| 437 | 437 | * the template. |
| 438 | 438 | * |
| 439 | - * @param $actionResult |
|
| 439 | + * @param string $actionResult |
|
| 440 | 440 | * @return string Rendered plugin content |
| 441 | 441 | */ |
| 442 | 442 | abstract protected function render($actionResult); |
@@ -77,7 +77,7 @@ |
||
| 77 | 77 | /** |
| 78 | 78 | * Constructs label markers. |
| 79 | 79 | * |
| 80 | - * @return array Array of label markers. |
|
| 80 | + * @return string Array of label markers. |
|
| 81 | 81 | */ |
| 82 | 82 | protected function getLabelMarkers() |
| 83 | 83 | { |
@@ -29,7 +29,6 @@ |
||
| 29 | 29 | use ApacheSolrForTypo3\Solr\Domain\Search\SearchRequest; |
| 30 | 30 | use ApacheSolrForTypo3\Solr\Plugin\CommandPluginBase; |
| 31 | 31 | use ApacheSolrForTypo3\Solr\Plugin\PluginCommand; |
| 32 | -use ApacheSolrForTypo3\Solr\Query; |
|
| 33 | 32 | use ApacheSolrForTypo3\Solr\System\Configuration\TypoScriptConfiguration; |
| 34 | 33 | use ApacheSolrForTypo3\Solr\Template; |
| 35 | 34 | use TYPO3\CMS\Core\Utility\GeneralUtility; |