Completed
Push — master ( 3a83fd...c1816d )
by Timo
15:24
created
Classes/Domain/Search/LastSearches/LastSearchesService.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -134,7 +134,7 @@
 block discarded – undo
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)
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/IndexQueue/PageIndexerRequest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -311,7 +311,7 @@
 block discarded – undo
311 311
      * Sets a request's parameter and its value.
312 312
      *
313 313
      * @param string $parameter Parameter name
314
-     * @param mixed $value Parameter value.
314
+     * @param string $value Parameter value.
315 315
      */
316 316
     public function setParameter($parameter, $value)
317 317
     {
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
@@ -256,7 +256,7 @@  discard block
 block discarded – undo
256 256
      *
257 257
      * Also does not report the time, see https://forge.typo3.org/issues/64551
258 258
      *
259
-     * @param float|int $timeout maximum time to wait for ping in seconds, -1 for unlimited (default is 2)
259
+     * @param integer $timeout maximum time to wait for ping in seconds, -1 for unlimited (default is 2)
260 260
      * @param boolean $useCache indicates if the ping result should be cached in the instance or not
261 261
      * @return bool TRUE if Solr can be reached, FALSE if not
262 262
      */
@@ -269,7 +269,7 @@  discard block
 block discarded – undo
269 269
     /**
270 270
      * Call the /admin/ping servlet, can be used to get the runtime of a ping request.
271 271
      *
272
-     * @param float|int $timeout maximum time to wait for ping in seconds, -1 for unlimited (default is 2)
272
+     * @param integer $timeout maximum time to wait for ping in seconds, -1 for unlimited (default is 2)
273 273
      * @param boolean $useCache indicates if the ping result should be cached in the instance or not
274 274
      * @return double runtime in milliseconds
275 275
      * @throws \ApacheSolrForTypo3\Solr\PingFailedException
@@ -504,7 +504,7 @@  discard block
 block discarded – undo
504 504
      *
505 505
      * @param string $url
506 506
      * @param float|bool $timeout Read timeout in seconds
507
-     * @return \Apache_Solr_Response
507
+     * @return string
508 508
      */
509 509
     protected function _sendRawGet($url, $timeout = false)
510 510
     {
@@ -676,7 +676,7 @@  discard block
 block discarded – undo
676 676
      * a complete and well formed "delete" xml document
677 677
      *
678 678
      * @param string $rawPost Expected to be utf-8 encoded xml document
679
-     * @param float|int $timeout Maximum expected duration of the delete operation on the server (otherwise, will throw a communication exception)
679
+     * @param integer $timeout Maximum expected duration of the delete operation on the server (otherwise, will throw a communication exception)
680 680
      * @return \Apache_Solr_Response
681 681
      */
682 682
     public function delete($rawPost, $timeout = 3600)
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
@@ -1151,7 +1151,7 @@
 block discarded – undo
1151 1151
     }
1152 1152
 
1153 1153
     /**
1154
-     * @param $templateContent
1154
+     * @param string $templateContent
1155 1155
      * @return mixed
1156 1156
      */
1157 1157
     public function setTemplateContent($templateContent)
Please login to merge, or discard this patch.
Classes/ConnectionManager.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,6 @@
 block discarded – undo
27 27
 use ApacheSolrForTypo3\Solr\NoSolrConnectionFoundException;
28 28
 use ApacheSolrForTypo3\Solr\Site;
29 29
 use ApacheSolrForTypo3\Solr\SolrService;
30
-use ApacheSolrForTypo3\Solr\System\Configuration\TypoScriptConfiguration;
31 30
 use ApacheSolrForTypo3\Solr\System\Page\Rootline;
32 31
 use TYPO3\CMS\Backend\Routing\UriBuilder;
33 32
 use TYPO3\CMS\Backend\Toolbar\ClearCacheActionsHookInterface;
Please login to merge, or discard this patch.
Classes/Query.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -200,7 +200,7 @@  discard block
 block discarded – undo
200 200
      *
201 201
      * @param string $msg
202 202
      * @param int $severity
203
-     * @param mixed $dataVar
203
+     * @param string[] $dataVar
204 204
      */
205 205
     protected function writeDevLog($msg, $severity = 0, $dataVar = false)
206 206
     {
@@ -1033,7 +1033,7 @@  discard block
 block discarded – undo
1033 1033
     /**
1034 1034
      * Sets the fields to return by a query.
1035 1035
      *
1036
-     * @param array|string $fieldList an array or comma-separated list of field names
1036
+     * @param string $fieldList an array or comma-separated list of field names
1037 1037
      * @throws \UnexpectedValueException on parameters other than comma-separated lists and arrays
1038 1038
      */
1039 1039
     public function setFieldList($fieldList = ['*', 'score'])
@@ -1109,7 +1109,7 @@  discard block
 block discarded – undo
1109 1109
      *
1110 1110
      * This query supports the complete Lucene Query Language.
1111 1111
      *
1112
-     * @param mixed $alternativeQuery String alternative query or boolean FALSE to disable / reset the q.alt parameter.
1112
+     * @param string $alternativeQuery String alternative query or boolean FALSE to disable / reset the q.alt parameter.
1113 1113
      * @see http://wiki.apache.org/solr/DisMaxQParserPlugin#q.alt
1114 1114
      */
1115 1115
     public function setAlternativeQuery($alternativeQuery)
Please login to merge, or discard this patch.