Passed
Push — feature/92 ( 38f07d...d3331a )
by Max
02:20
created
src/TransparentIterator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,14 +21,14 @@
 block discarded – undo
21 21
      * 
22 22
      * @var Iterator<TKey, TValue>|Indifferent<Iterator<TKey, TValue>>
23 23
      */
24
-    private Iterator|Indifferent $origin;
24
+    private Iterator | Indifferent $origin;
25 25
 
26 26
     /**
27 27
      * Ctor.
28 28
      *
29 29
      * @param Iterator<TKey, TValue>|Indifferent<Iterator<TKey, TValue>> $iterable
30 30
      */
31
-    public function __construct(Iterator|Indifferent $iterable)
31
+    public function __construct(Iterator | Indifferent $iterable)
32 32
     {
33 33
         $this->origin = $iterable;
34 34
     }
Please login to merge, or discard this patch.
fakes/The.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
         parent::__construct(
26 26
             $subject,
27 27
             $context,
28
-            function (mixed $subject, Closure $context): mixed
28
+            function(mixed $subject, Closure $context): mixed
29 29
             {
30 30
                 $context($subject);
31 31
                 return $subject;
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,9 +47,11 @@
 block discarded – undo
47 47
     /**
48 48
      * {@inheritDoc}
49 49
      */
50
-    public function do(Closure $context): mixed
50
+    public function do {
51
+        (Closure $context): mixed
51 52
     {
52 53
         $context($this->subject);
54
+    }
53 55
         return $this->subject;
54 56
     }
55 57
 }
Please login to merge, or discard this patch.
fakes/Block.php 1 patch
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,5 +19,7 @@
 block discarded – undo
19 19
      * @phpstan-return T
20 20
      * @return mixed
21 21
      */
22
-    public function do(Closure $context): mixed;
23
-}
22
+    public function do {
23
+        (Closure $context): mixed;
24
+    }
25
+    }
Please login to merge, or discard this patch.
fakes/Let.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,8 +44,10 @@
 block discarded – undo
44 44
     /**
45 45
      * {@inheritDoc}
46 46
      */
47
-    public function do(Closure $context): mixed
47
+    public function do {
48
+        (Closure $context): mixed
48 49
     {
49 50
         return $context($this->subject);
50 51
     }
52
+    }
51 53
 }
Please login to merge, or discard this patch.