@@ -22,7 +22,7 @@ |
||
22 | 22 | */ |
23 | 23 | public function testCreateCallbackStrategy(): void |
24 | 24 | { |
25 | - $callback = function ($connections): void { |
|
25 | + $callback = function($connections): void { |
|
26 | 26 | }; |
27 | 27 | |
28 | 28 | $strategy = StrategyFactory::create($callback); |
@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | /** |
51 | 51 | * Set the weight for this aggregation. |
52 | 52 | * |
53 | - * @param mixed $missing |
|
53 | + * @param integer $missing |
|
54 | 54 | * |
55 | 55 | * @return $this |
56 | 56 | */ |
@@ -98,7 +98,6 @@ discard block |
||
98 | 98 | /** |
99 | 99 | * Set the value_type for this aggregation. |
100 | 100 | * |
101 | - * @param string $format |
|
102 | 101 | * @param mixed $valueType |
103 | 102 | * |
104 | 103 | * @return $this |
@@ -430,11 +430,11 @@ |
||
430 | 430 | return new DiversifiedSampler($name); |
431 | 431 | } |
432 | 432 | |
433 | - /** |
|
434 | - * composite aggregation |
|
435 | - */ |
|
433 | + /** |
|
434 | + * composite aggregation |
|
435 | + */ |
|
436 | 436 | public function composite(string $name): Composite |
437 | 437 | { |
438 | - return new Composite($name); |
|
438 | + return new Composite($name); |
|
439 | 439 | } |
440 | 440 | } |