Test Setup Failed
Branch master (1a859d)
by DeGracia
03:30
created
src/CircuitBreaker.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
         return $this;
24 24
     }
25 25
 
26
-    public function closure(Closure $closure) :?array
26
+    public function closure(Closure $closure) : ?array
27 27
     {   
28 28
         try {
29 29
             return $closure();
Please login to merge, or discard this patch.
src/Breaker.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,9 +16,11 @@
 block discarded – undo
16 16
         return $this;
17 17
     }
18 18
 
19
-    public function do(Closure $closure) :Breaker
19
+    public function do {
20
+        (Closure $closure) :Breaker
20 21
     {
21 22
         $this->closure = $closure;
23
+    }
22 24
 
23 25
         return $this;
24 26
     }
Please login to merge, or discard this patch.