Test Failed
Push — master ( 50022e...5b6d46 )
by Radosław
02:04
created
src/macros/fn/trampoline.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,10 +4,10 @@
 block discarded – undo
4 4
 use Baethon\Phln\Phln as P;
5 5
 use Baethon\Phln\TrampolineThunk;
6 6
 
7
-P::macro('trampoline', function (callable $fn) {
7
+P::macro('trampoline', function(callable $fn) {
8 8
     $wrapper = new TrampolineThunk($fn);
9 9
 
10
-    return function (...$args) use ($wrapper) {
10
+    return function(...$args) use ($wrapper) {
11 11
         $result = $wrapper(...$args);
12 12
 
13 13
         while ($result instanceof \Closure) {
Please login to merge, or discard this patch.
src/TrampolineThunk.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 
4 4
 namespace Baethon\Phln;
5 5
 
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
     {
21 21
         $fn = $this->fn;
22 22
 
23
-        return function () use ($args, $fn) {
23
+        return function() use ($args, $fn) {
24 24
             return $fn(...$args);
25 25
         };
26 26
     }
Please login to merge, or discard this patch.