Completed
Push — master ( 17c0c5...99eb02 )
by Iman
05:05
created
src/Conditions/ConditionsFacade.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -12,8 +12,8 @@  discard block
 block discarded – undo
12 12
     {
13 13
         $method = $this->aliases[$method] ?? $method;
14 14
 
15
-        if (! isset($this->methods[$method])) {
16
-            throw new \BadMethodCallException($method.' does not exists as a Heyman condition');
15
+        if (!isset($this->methods[$method])) {
16
+            throw new \BadMethodCallException($method . ' does not exists as a Heyman condition');
17 17
         }
18 18
         $condition = $this->methods[$method];
19 19
 
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
 
38 38
     public function alias(string $currentName, string $newName)
39 39
     {
40
-        if (isset($this->methods[$currentName]) && ! isset($this->aliases[$newName])) {
40
+        if (isset($this->methods[$currentName]) && !isset($this->aliases[$newName])) {
41 41
             $this->aliases[$newName] = $currentName;
42 42
         }
43 43
     }
Please login to merge, or discard this patch.
src/HeyMan.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
     {
20 20
         resolve('heyman.chain')->startChain();
21 21
 
22
-        if (config('app.debug') && ! app()->environment('production')) {
22
+        if (config('app.debug') && !app()->environment('production')) {
23 23
             $info = array_only(debug_backtrace(DEBUG_BACKTRACE_PROVIDE_OBJECT, 2)[1], ['file', 'line', 'args']);
24 24
             resolve('heyman.chain')->set('debugInfo', $info);
25 25
         }
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
 
30 30
     public function checkPoint(string $pointName)
31 31
     {
32
-        event('heyman_checkpoint_'.$pointName);
32
+        event('heyman_checkpoint_' . $pointName);
33 33
     }
34 34
 
35 35
     public function aliasCondition(string $currentName, string $newName)
Please login to merge, or discard this patch.