Passed
Pull Request — master (#115)
by Max
02:31
created
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/The.php 1 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/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.