@@ -77,7 +77,7 @@ |
||
| 77 | 77 | * @param null|HasherInterface $hasher |
| 78 | 78 | * @param null|int $replicas Amount of positions to hash each target to. |
| 79 | 79 | */ |
| 80 | - public function __construct(null|HasherInterface $hasher = null, null|int $replicas = null) |
|
| 80 | + public function __construct(null | HasherInterface $hasher = null, null | int $replicas = null) |
|
| 81 | 81 | { |
| 82 | 82 | $this->hasher = $hasher ?? new Crc32Hasher(); |
| 83 | 83 | |
@@ -23,7 +23,9 @@ |
||
| 23 | 23 | */ |
| 24 | 24 | class MockHasher implements HasherInterface |
| 25 | 25 | { |
| 26 | - public function __construct(private int $hashValue) {} |
|
| 26 | + public function __construct(private int $hashValue) |
|
| 27 | + { |
|
| 28 | +} |
|
| 27 | 29 | |
| 28 | 30 | public function hash(string $string): int |
| 29 | 31 | { |