Completed
Branch master (75ac37)
by Timo
04:13
created
Classes/HtmlContentExtractor.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -141,6 +141,7 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.
Classes/IndexQueue/Indexer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
Classes/IndexQueue/Item.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -347,6 +347,9 @@
 block discarded – undo
347 347
         }
348 348
     }
349 349
 
350
+    /**
351
+     * @param string $key
352
+     */
350 353
     public function hasIndexingProperty($key)
351 354
     {
352 355
         $this->loadIndexingProperties();
Please login to merge, or discard this patch.
Classes/IndexQueue/PageIndexerRequest.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -202,7 +202,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
Classes/IndexQueue/PageIndexerResponse.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.
Classes/IndexQueue/Queue.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -861,7 +861,7 @@
 block discarded – undo
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
      */
Please login to merge, or discard this patch.
Classes/Plugin/PluginBase.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -436,7 +436,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
Classes/Plugin/Results/NoResultsCommand.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
Classes/Plugin/Results/Results.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.