Passed
Pull Request — master (#1638)
by Timo
04:46
created
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.