Passed
Push — master ( e07c0b...0963ba )
by Iman
02:31
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
 
19 19
         $condition = $this->methods[$method];
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
 
39 39
     public function alias(string $currentName, string $newName, $override = true)
40 40
     {
41
-        if ($override || ! isset($this->aliases[$newName])) {
41
+        if ($override || !isset($this->aliases[$newName])) {
42 42
             $this->aliases[$newName] = $currentName;
43 43
             return true;
44 44
         }
Please login to merge, or discard this patch.