Completed
Push — master ( a15c05...43dee4 )
by Stephen
03:34
created
src/StarCitizens.php 1 patch
Braces   +9 added lines, -6 removed lines patch added patch discarded remove patch
@@ -48,16 +48,19 @@
 block discarded – undo
48 48
     {
49 49
         if (array_key_exists($name, $this->systems)) {
50 50
             $argumentCount = count($arguments);
51
-            if ($argumentCount == 0)
52
-                throw new \InvalidArgumentException("Requires an argument");
51
+            if ($argumentCount == 0) {
52
+                            throw new \InvalidArgumentException("Requires an argument");
53
+            }
53 54
 
54
-            if ($argumentCount > 0 && $argumentCount< 2)
55
-                return $this->find($arguments[0], $name, $this->systems[$name]['base_action']);
55
+            if ($argumentCount > 0 && $argumentCount< 2) {
56
+                            return $this->find($arguments[0], $name, $this->systems[$name]['base_action']);
57
+            }
56 58
 
57 59
             if ($argumentCount == 2) {
58 60
                 list($id, $profileType) = $arguments;
59
-                if ($profileType == false)
60
-                    $profileType = $this->systems[$name]['base_action'];
61
+                if ($profileType == false) {
62
+                                    $profileType = $this->systems[$name]['base_action'];
63
+                }
61 64
                 return $this->find($id, $name, $profileType);
62 65
             }
63 66
             if ($argumentCount == 4 ) {
Please login to merge, or discard this patch.