Completed
Pull Request — master (#1095)
by Timo
51:30 queued 18:48
created
Classes/Plugin/PluginBase.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -438,7 +438,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
Classes/Template.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1152,7 +1152,7 @@
 block discarded – undo
1152 1152
     }
1153 1153
 
1154 1154
     /**
1155
-     * @param $templateContent
1155
+     * @param string $templateContent
1156 1156
      * @return mixed
1157 1157
      */
1158 1158
     public function setTemplateContent($templateContent)
Please login to merge, or discard this patch.
Classes/IndexQueue/PageIndexerRequest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -324,7 +324,7 @@
 block discarded – undo
324 324
      * Sets a request's parameter and its value.
325 325
      *
326 326
      * @param string $parameter Parameter name
327
-     * @param mixed $value Parameter value.
327
+     * @param string $value Parameter value.
328 328
      */
329 329
     public function setParameter($parameter, $value)
330 330
     {
Please login to merge, or discard this patch.
Classes/SolrService.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -232,7 +232,7 @@  discard block
 block discarded – undo
232 232
      *
233 233
      * Also does not report the time, see https://forge.typo3.org/issues/64551
234 234
      *
235
-     * @param float|int $timeout maximum time to wait for ping in seconds, -1 for unlimited (default is 2)
235
+     * @param integer $timeout maximum time to wait for ping in seconds, -1 for unlimited (default is 2)
236 236
      * @param boolean $useCache indicates if the ping result should be cached in the instance or not
237 237
      * @return bool TRUE if Solr can be reached, FALSE if not
238 238
      */
@@ -245,7 +245,7 @@  discard block
 block discarded – undo
245 245
     /**
246 246
      * Call the /admin/ping servlet, can be used to get the runtime of a ping request.
247 247
      *
248
-     * @param float|int $timeout maximum time to wait for ping in seconds, -1 for unlimited (default is 2)
248
+     * @param integer $timeout maximum time to wait for ping in seconds, -1 for unlimited (default is 2)
249 249
      * @param boolean $useCache indicates if the ping result should be cached in the instance or not
250 250
      * @return double runtime in milliseconds
251 251
      * @throws \ApacheSolrForTypo3\Solr\PingFailedException
@@ -482,7 +482,7 @@  discard block
 block discarded – undo
482 482
      *
483 483
      * @param string $url
484 484
      * @param float|bool $timeout Read timeout in seconds
485
-     * @return \Apache_Solr_Response
485
+     * @return string
486 486
      */
487 487
     protected function _sendRawGet($url, $timeout = false)
488 488
     {
@@ -656,7 +656,7 @@  discard block
 block discarded – undo
656 656
      * a complete and well formed "delete" xml document
657 657
      *
658 658
      * @param string $rawPost Expected to be utf-8 encoded xml document
659
-     * @param float|int $timeout Maximum expected duration of the delete operation on the server (otherwise, will throw a communication exception)
659
+     * @param integer $timeout Maximum expected duration of the delete operation on the server (otherwise, will throw a communication exception)
660 660
      * @return \Apache_Solr_Response
661 661
      */
662 662
     public function delete($rawPost, $timeout = 3600)
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
@@ -241,6 +241,9 @@
 block discarded – undo
241 241
         $this->record = $record;
242 242
     }
243 243
 
244
+    /**
245
+     * @return integer
246
+     */
244 247
     public function getRecordPageId()
245 248
     {
246 249
         $this->getRecord();
Please login to merge, or discard this patch.
Classes/IndexQueue/Queue.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -378,7 +378,7 @@  discard block
 block discarded – undo
378 378
      *      different value for non-database-record types.
379 379
      * @param string $additionalRecordFields for sql-query
380 380
      *
381
-     * @return array|NULL
381
+     * @return string
382 382
      */
383 383
     protected function getRecordCached($itemType, $itemUid, $additionalRecordFields)
384 384
     {
@@ -925,7 +925,7 @@  discard block
 block discarded – undo
925 925
      * Marks an item as failed and causes the indexer to skip the item in the
926 926
      * next run.
927 927
      *
928
-     * @param int|Item $item Either the item's Index Queue
928
+     * @param Item $item Either the item's Index Queue
929 929
      *      uid or the complete item
930 930
      * @param string $errorMessage Error message
931 931
      */
Please login to merge, or discard this patch.
Classes/Task/ReIndexTaskAdditionalFieldProvider.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -212,7 +212,7 @@
 block discarded – undo
212 212
     /**
213 213
      * Check that a task is an instance of ReIndexTask
214 214
      *
215
-     * @param $task
215
+     * @param AbstractTask $task
216 216
      * @throws \LogicException
217 217
      */
218 218
     protected function isTaskInstanceofReIndexTask($task)
Please login to merge, or discard this patch.
Classes/Task/IndexQueueWorkerTaskAdditionalFieldProvider.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -142,7 +142,7 @@
 block discarded – undo
142 142
     /**
143 143
      * Check that a task is an instance of IndexQueueWorkerTask
144 144
      *
145
-     * @param $task
145
+     * @param AbstractTask $task
146 146
      * @throws \LogicException
147 147
      */
148 148
     protected function isTaskInstanceofIndexQueueWorkerTask($task)
Please login to merge, or discard this patch.
Classes/Query.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1041,7 +1041,7 @@  discard block
 block discarded – undo
1041 1041
     /**
1042 1042
      * Sets the fields to return by a query.
1043 1043
      *
1044
-     * @param array|string $fieldList an array or comma-separated list of field names
1044
+     * @param string $fieldList an array or comma-separated list of field names
1045 1045
      * @throws \UnexpectedValueException on parameters other than comma-separated lists and arrays
1046 1046
      */
1047 1047
     public function setFieldList($fieldList = ['*', 'score'])
@@ -1117,7 +1117,7 @@  discard block
 block discarded – undo
1117 1117
      *
1118 1118
      * This query supports the complete Lucene Query Language.
1119 1119
      *
1120
-     * @param mixed $alternativeQuery String alternative query or boolean FALSE to disable / reset the q.alt parameter.
1120
+     * @param string $alternativeQuery String alternative query or boolean FALSE to disable / reset the q.alt parameter.
1121 1121
      * @see http://wiki.apache.org/solr/DisMaxQParserPlugin#q.alt
1122 1122
      */
1123 1123
     public function setAlternativeQuery($alternativeQuery)
Please login to merge, or discard this patch.