@@ -22,7 +22,7 @@ discard block |
||
22 | 22 | { |
23 | 23 | $count = 0; |
24 | 24 | |
25 | - $callback = static function ($connections) use (&$count): Connection { |
|
25 | + $callback = static function($connections) use (&$count): Connection { |
|
26 | 26 | ++$count; |
27 | 27 | |
28 | 28 | return \current($connections); |
@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | { |
43 | 43 | $count = 0; |
44 | 44 | |
45 | - $config = ['connectionStrategy' => static function ($connections) use (&$count): Connection { |
|
45 | + $config = ['connectionStrategy' => static function($connections) use (&$count): Connection { |
|
46 | 46 | ++$count; |
47 | 47 | |
48 | 48 | return \current($connections); |
@@ -96,7 +96,7 @@ |
||
96 | 96 | |
97 | 97 | $indicesWithAlias = $status->getIndicesWithAlias($aliasName); |
98 | 98 | $this->assertEquals([$indexName], \array_map( |
99 | - static function ($index) { |
|
99 | + static function($index) { |
|
100 | 100 | return $index->getName(); |
101 | 101 | }, |
102 | 102 | $indicesWithAlias |
@@ -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; |