Completed
Pull Request — master (#1874)
by romain
02:26
created
tests/BulkTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -550,7 +550,7 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/Aggregation/DateHistogram.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
      */
Please login to merge, or discard this patch.