Skip to content

Commit

Permalink
Update\Query\Document::__set should accept mixed (#693)
Browse files Browse the repository at this point in the history
__set is an alias to setField so there's no reason not to accept the same $value types.
  • Loading branch information
iluuu1994 authored and Markus Kalkbrenner committed Sep 3, 2019
1 parent 72aae29 commit 65453b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/QueryType/Update/Query/Document.php
Expand Up @@ -166,8 +166,8 @@ public function __construct(array $fields = [], array $boosts = [], array $modif
* If you supply an array a multivalue field will be created.
* In all cases any existing (multi)value will be overwritten.
*
* @param string $name
* @param string|null $value
* @param string $name
* @param mixed $value
*
* @return self
*/
Expand Down

0 comments on commit 65453b4

Please sign in to comment.