Passed
Push — main ( bfc7cf...f88b94 )
by Eric
02:00
created
src/ConsistentHash.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
tests/Hasher/MockHasher.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,9 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.