Completed
Pull Request — master (#875)
by
unknown
28:28 queued 08:38
created
Classes/IndexQueue/Queue.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -856,7 +856,7 @@
 block discarded – undo
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
      */
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
@@ -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/Plugin/Results/NoResultsCommand.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
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/Query.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -193,7 +193,7 @@  discard block
 block discarded – undo
193 193
      *
194 194
      * @param string $msg
195 195
      * @param int $severity
196
-     * @param mixed $dataVar
196
+     * @param string[] $dataVar
197 197
      */
198 198
     protected function writeDevLog($msg, $severity = 0, $dataVar = false)
199 199
     {
@@ -1003,7 +1003,7 @@  discard block
 block discarded – undo
1003 1003
     /**
1004 1004
      * Sets the fields to return by a query.
1005 1005
      *
1006
-     * @param array|string $fieldList an array or comma-separated list of field names
1006
+     * @param string $fieldList an array or comma-separated list of field names
1007 1007
      * @throws \UnexpectedValueException on parameters other than comma-separated lists and arrays
1008 1008
      */
1009 1009
     public function setFieldList($fieldList = array('*', 'score'))
@@ -1079,7 +1079,7 @@  discard block
 block discarded – undo
1079 1079
      *
1080 1080
      * This query supports the complete Lucene Query Language.
1081 1081
      *
1082
-     * @param mixed $alternativeQuery String alternative query or boolean FALSE to disable / reset the q.alt parameter.
1082
+     * @param string $alternativeQuery String alternative query or boolean FALSE to disable / reset the q.alt parameter.
1083 1083
      * @see http://wiki.apache.org/solr/DisMaxQParserPlugin#q.alt
1084 1084
      */
1085 1085
     public function setAlternativeQuery($alternativeQuery)
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/System/Configuration/TypoScriptConfiguration.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -604,7 +604,7 @@  discard block
 block discarded – undo
604 604
      *
605 605
      * @param string $configurationName
606 606
      * @param string $defaultIfEmpty
607
-     * @return mixed
607
+     * @return string
608 608
      */
609 609
     public function getIndexQueueInitializerClassByConfigurationName($configurationName, $defaultIfEmpty = 'ApacheSolrForTypo3\\Solr\\IndexQueue\\Initializer\\Record')
610 610
     {
@@ -1309,7 +1309,7 @@  discard block
 block discarded – undo
1309 1309
      * plugin.tx_solr.search.query.allowEmptyQuery
1310 1310
      *
1311 1311
      * @param string $defaultIfEmpty
1312
-     * @return string
1312
+     * @return boolean
1313 1313
      */
1314 1314
     public function getSearchQueryAllowEmptyQuery($defaultIfEmpty = '')
1315 1315
     {
@@ -1371,7 +1371,7 @@  discard block
 block discarded – undo
1371 1371
      *
1372 1372
      * plugin.tx_solr.search.query.returnFields
1373 1373
      *
1374
-     * @param array $defaultIfEmpty
1374
+     * @param string[] $defaultIfEmpty
1375 1375
      * @return array
1376 1376
      */
1377 1377
     public function getSearchQueryReturnFieldsAsArray($defaultIfEmpty = array())
@@ -1956,7 +1956,7 @@  discard block
 block discarded – undo
1956 1956
      * plugin.tx_solr.index.enableCommits
1957 1957
      *
1958 1958
      * @param bool $defaultIfEmpty
1959
-     * @return bool
1959
+     * @return boolean|null
1960 1960
      */
1961 1961
     public function getEnableCommits($defaultIfEmpty = true)
1962 1962
     {
Please login to merge, or discard this patch.