Completed
Push — master ( 1268a0...fb80c8 )
by Stephen
03:23
created
src/StarCitizens.php 1 patch
Braces   +9 added lines, -6 removed lines patch added patch discarded remove patch
@@ -62,16 +62,19 @@
 block discarded – undo
62 62
     {
63 63
         $argumentCount = count($arguments);
64 64
 
65
-        if ($argumentCount == 0)
66
-            throw new \InvalidArgumentException("Requires an argument");
65
+        if ($argumentCount == 0) {
66
+                    throw new \InvalidArgumentException("Requires an argument");
67
+        }
67 68
 
68
-        if ($argumentCount > 0 && $argumentCount< 2)
69
-            return $this->find($arguments[0], $name, $this->systems[$name]['base_action']);
69
+        if ($argumentCount > 0 && $argumentCount< 2) {
70
+                    return $this->find($arguments[0], $name, $this->systems[$name]['base_action']);
71
+        }
70 72
 
71 73
         if ($argumentCount == 2) {
72 74
             list($id, $profileType) = $arguments;
73
-            if ($profileType == false)
74
-                $profileType = $this->systems[$name]['base_action'];
75
+            if ($profileType == false) {
76
+                            $profileType = $this->systems[$name]['base_action'];
77
+            }
75 78
             return $this->find($id, $name, $profileType);
76 79
         }
77 80
 
Please login to merge, or discard this patch.