Passed
Pull Request — master (#1385)
by Timo
19:20
created
Classes/Domain/Search/ResultSet/SearchResult.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -139,7 +139,7 @@
 block discarded – undo
139 139
     }
140 140
 
141 141
     /**
142
-     * @param null $variantParent
142
+     * @param SearchResult $variantParent
143 143
      */
144 144
     public function setVariantParent($variantParent)
145 145
     {
Please login to merge, or discard this patch.
Classes/Domain/Search/ApacheSolrDocument/Repository.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -78,6 +78,7 @@  discard block
 block discarded – undo
78 78
      * Initializes Search for given language
79 79
      *
80 80
      * @param int $languageId
81
+     * @param integer $pageId
81 82
      */
82 83
     protected function initializeSearch($pageId, $languageId = 0)
83 84
     {
@@ -98,6 +99,7 @@  discard block
 block discarded – undo
98 99
      * Returns Query for Saearch which finds document for given page.
99 100
      * Note: The Connection is per language as recommended in ext-solr docs.
100 101
      *
102
+     * @param integer $pageId
101 103
      * @return Query
102 104
      */
103 105
     protected function getQueryForPage($pageId)
Please login to merge, or discard this patch.
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/Query.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -772,7 +772,7 @@  discard block
 block discarded – undo
772 772
     }
773 773
 
774 774
     /**
775
-     * @param $filterFieldName
775
+     * @param string $filterFieldName
776 776
      */
777 777
     private function removeFilterByPrefix($filterFieldName)
778 778
     {
@@ -925,7 +925,7 @@  discard block
 block discarded – undo
925 925
      * Sets the fields to return by a query.
926 926
      *
927 927
      * @deprecated Use method setReturnFields() instead, will be removed in 8.0
928
-     * @param array|string $fieldList an array or comma-separated list of field names
928
+     * @param string $fieldList an array or comma-separated list of field names
929 929
      * @throws \UnexpectedValueException on parameters other than comma-separated lists and arrays
930 930
      */
931 931
     public function setFieldList($fieldList = ['*', 'score'])
@@ -1019,7 +1019,7 @@  discard block
 block discarded – undo
1019 1019
      *
1020 1020
      * This query supports the complete Lucene Query Language.
1021 1021
      *
1022
-     * @param mixed $alternativeQuery String alternative query or boolean FALSE to disable / reset the q.alt parameter.
1022
+     * @param string $alternativeQuery String alternative query or boolean FALSE to disable / reset the q.alt parameter.
1023 1023
      * @see http://wiki.apache.org/solr/DisMaxQParserPlugin#q.alt
1024 1024
      */
1025 1025
     public function setAlternativeQuery($alternativeQuery)
@@ -1286,7 +1286,7 @@  discard block
 block discarded – undo
1286 1286
      * Appends an item to a queryParameter that is an array or initializes it as empty array when it is not set.
1287 1287
      *
1288 1288
      * @param string $key
1289
-     * @param mixed $value
1289
+     * @param string $value
1290 1290
      */
1291 1291
     private function appendToArrayQueryParameter($key, $value)
1292 1292
     {
Please login to merge, or discard this patch.