Passed
Pull Request — master (#1638)
by Timo
04:46
created
Classes/SolrService.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -662,7 +662,7 @@
 block discarded – undo
662 662
      * a complete and well formed "delete" xml document
663 663
      *
664 664
      * @param string $rawPost Expected to be utf-8 encoded xml document
665
-     * @param float|int $timeout Maximum expected duration of the delete operation on the server (otherwise, will throw a communication exception)
665
+     * @param integer $timeout Maximum expected duration of the delete operation on the server (otherwise, will throw a communication exception)
666 666
      * @return \Apache_Solr_Response
667 667
      */
668 668
     public function delete($rawPost, $timeout = 3600)
Please login to merge, or discard this patch.
Domain/Search/ResultSet/Facets/OptionBased/Options/OptionsFacetParser.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
      * @param SearchResultSet $resultSet
31 31
      * @param string $facetName
32 32
      * @param array $facetConfiguration
33
-     * @return OptionsFacet|null
33
+     * @return null|\ApacheSolrForTypo3\Solr\Domain\Search\ResultSet\Facets\OptionBased\AbstractOptionsFacet
34 34
      */
35 35
     public function parse(SearchResultSet $resultSet, $facetName, array $facetConfiguration)
36 36
     {
Please login to merge, or discard this patch.
Search/ResultSet/Facets/OptionBased/QueryGroup/QueryGroupFacetParser.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
      * @param SearchResultSet $resultSet
33 33
      * @param string $facetName
34 34
      * @param array $facetConfiguration
35
-     * @return QueryGroupFacet|null
35
+     * @return null|\ApacheSolrForTypo3\Solr\Domain\Search\ResultSet\Facets\OptionBased\AbstractOptionsFacet
36 36
      */
37 37
     public function parse(SearchResultSet $resultSet, $facetName, array $facetConfiguration)
38 38
     {
Please login to merge, or discard this patch.
Classes/ViewHelpers/Backend/Document/IsBoostedFieldViewHelper.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
      * This method decides if the condition is true or false
50 50
      *
51 51
      * @param array $arguments ViewHelper arguments to evaluate the condition for this ViewHelper.
52
-     * @return bool
52
+     * @return double
53 53
      */
54 54
     protected static function evaluateCondition($arguments = null)
55 55
     {
Please login to merge, or discard this patch.
Classes/System/UserFunctions/FlexFormUserFunctions.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -148,7 +148,7 @@
 block discarded – undo
148 148
     }
149 149
 
150 150
     /**
151
-     * @param $pid
151
+     * @param integer $pid
152 152
      * @return \ApacheSolrForTypo3\Solr\System\Configuration\TypoScriptConfiguration|array
153 153
      */
154 154
     protected function getConfigurationFromPageId($pid)
Please login to merge, or discard this patch.
Classes/System/Records/AbstractRepository.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -90,6 +90,7 @@
 block discarded – undo
90 90
      * Note: Rollback will not work in case of different connections.
91 91
      *
92 92
      * @param string[] ...$tableNames
93
+     * @param string $tableNames
93 94
      * @return Connection
94 95
      */
95 96
     public function getConnectionForAllInTransactionInvolvedTables(string ...$tableNames) : Connection
Please login to merge, or discard this patch.
Classes/Domain/Search/SearchRequest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -418,7 +418,7 @@
 block discarded – undo
418 418
     /**
419 419
      * Returns the passed page.
420 420
      *
421
-     * @return int|null
421
+     * @return integer
422 422
      */
423 423
     public function getPage()
424 424
     {
Please login to merge, or discard this patch.
Classes/Domain/Search/SearchRequestBuilder.php 1 patch
Doc Comments   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,6 +59,7 @@  discard block
 block discarded – undo
59 59
     }
60 60
 
61 61
     /**
62
+     * @param integer $languageId
62 63
      * @return SearchRequest
63 64
      */
64 65
     public function buildForSearch(array $controllerArguments, $pageId, $languageId)
@@ -127,6 +128,7 @@  discard block
 block discarded – undo
127 128
     }
128 129
 
129 130
     /**
131
+     * @param integer $languageId
130 132
      * @return SearchRequest
131 133
      */
132 134
     public function buildForFrequentSearches($pageId, $languageId)
@@ -158,7 +160,7 @@  discard block
 block discarded – undo
158 160
      * @param array $requestArguments
159 161
      * @param int $pageId
160 162
      * @param int $languageId
161
-     * @return SearchRequest|object
163
+     * @return SearchRequest
162 164
      */
163 165
     protected function getRequest(array $requestArguments = [], $pageId = 0, $languageId = 0)
164 166
     {
@@ -170,7 +172,7 @@  discard block
 block discarded – undo
170 172
      * This methods sets the page argument to an expected positive integer value in the arguments array.
171 173
      *
172 174
      * @param array $arguments
173
-     * @return array
175
+     * @return integer
174 176
      */
175 177
     protected function adjustPageArgumentToPositiveInteger(array $arguments)
176 178
     {
Please login to merge, or discard this patch.
Classes/Domain/Search/Suggest/SuggestService.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
      *
77 77
      * @param SearchRequest $searchRequest
78 78
      * @param string $additionalFilters
79
-     * @return array
79
+     * @return string
80 80
      */
81 81
     public function getSuggestions(SearchRequest $searchRequest, $additionalFilters) {
82 82
         $solrSuggestions = $this->getSolrSuggestions($searchRequest, $additionalFilters);
Please login to merge, or discard this patch.