|
@@ -990,7 +990,7 @@ discard block |
|
|
block discarded – undo |
|
990
|
990
|
/** |
|
991
|
991
|
* Sets the fields to return by a query. |
|
992
|
992
|
* |
|
993
|
|
- * @param array|string $fieldList an array or comma-separated list of field names |
|
|
993
|
+ * @param string $fieldList an array or comma-separated list of field names |
|
994
|
994
|
* @throws \UnexpectedValueException on parameters other than comma-separated lists and arrays |
|
995
|
995
|
*/ |
|
996
|
996
|
public function setFieldList($fieldList = ['*', 'score']) |
|
@@ -1062,7 +1062,7 @@ discard block |
|
|
block discarded – undo |
|
1062
|
1062
|
* |
|
1063
|
1063
|
* This query supports the complete Lucene Query Language. |
|
1064
|
1064
|
* |
|
1065
|
|
- * @param mixed $alternativeQuery String alternative query or boolean FALSE to disable / reset the q.alt parameter. |
|
|
1065
|
+ * @param string $alternativeQuery String alternative query or boolean FALSE to disable / reset the q.alt parameter. |
|
1066
|
1066
|
* @see http://wiki.apache.org/solr/DisMaxQParserPlugin#q.alt |
|
1067
|
1067
|
*/ |
|
1068
|
1068
|
public function setAlternativeQuery($alternativeQuery) |
|
@@ -1361,7 +1361,7 @@ discard block |
|
|
block discarded – undo |
|
1361
|
1361
|
* Appends an item to a queryParameter that is an array or initializes it as empty array when it is not set. |
|
1362
|
1362
|
* |
|
1363
|
1363
|
* @param string $key |
|
1364
|
|
- * @param mixed $value |
|
|
1364
|
+ * @param string $value |
|
1365
|
1365
|
*/ |
|
1366
|
1366
|
private function appendToArrayQueryParameter($key, $value) |
|
1367
|
1367
|
{ |
Please login to merge, or discard this patch.