@@ -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; |
@@ -33,7 +33,7 @@ discard block |
||
| 33 | 33 | * |
| 34 | 34 | * @deprecated Deprecated since 7.1.0 |
| 35 | 35 | * |
| 36 | - * @param int|string $interval |
|
| 36 | + * @param string $interval |
|
| 37 | 37 | * |
| 38 | 38 | * @return $this |
| 39 | 39 | */ |
@@ -47,7 +47,7 @@ discard block |
||
| 47 | 47 | /** |
| 48 | 48 | * Set the fixed interval by which documents will be bucketed. |
| 49 | 49 | * |
| 50 | - * @param int|string $interval |
|
| 50 | + * @param string $interval |
|
| 51 | 51 | * |
| 52 | 52 | * @return $this |
| 53 | 53 | */ |
@@ -59,7 +59,7 @@ discard block |
||
| 59 | 59 | /** |
| 60 | 60 | * Set the calendar interval by which documents will be bucketed. |
| 61 | 61 | * |
| 62 | - * @param int|string $interval |
|
| 62 | + * @param string $interval |
|
| 63 | 63 | * |
| 64 | 64 | * @return $this |
| 65 | 65 | */ |