Passed
Pull Request — master (#1385)
by Timo
19:20
created
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.