@@ -550,7 +550,7 @@ |
||
550 | 550 | $doc2 = new Document(2, ['name' => 'Beckenbauer'], $index); |
551 | 551 | $doc3 = new Document(3, ['name' => 'Baggio'], $index); |
552 | 552 | $doc4 = new Document(4, ['name' => 'Cruyff'], $index); |
553 | - $documents = \array_map(static function ($d) { |
|
553 | + $documents = \array_map(static function($d) { |
|
554 | 554 | $d->setDocAsUpsert(true); |
555 | 555 | |
556 | 556 | return $d; |
@@ -56,7 +56,7 @@ |
||
56 | 56 | |
57 | 57 | /** |
58 | 58 | * Adds a single term to the list. |
59 | - * @param string[]|int[]|float[] $term |
|
59 | + * @param string $term |
|
60 | 60 | */ |
61 | 61 | public function addTerm($term): self |
62 | 62 | { |