@@ -62,8 +62,9 @@ discard block |
||
62 | 62 | { |
63 | 63 | $argumentCount = count($arguments); |
64 | 64 | |
65 | - if ($argumentCount > 0 && $argumentCount< 2) |
|
66 | - return $this->callBase($arguments[0], $name); |
|
65 | + if ($argumentCount > 0 && $argumentCount< 2) { |
|
66 | + return $this->callBase($arguments[0], $name); |
|
67 | + } |
|
67 | 68 | |
68 | 69 | if ($argumentCount == 2) { |
69 | 70 | list($id, $action) = $arguments; |
@@ -96,8 +97,9 @@ discard block |
||
96 | 97 | */ |
97 | 98 | private function callAction($id, $system, $action = false) |
98 | 99 | { |
99 | - if ($action === false) |
|
100 | - $action = $this->systems[$system]['base_action']; |
|
100 | + if ($action === false) { |
|
101 | + $action = $this->systems[$system]['base_action']; |
|
102 | + } |
|
101 | 103 | return $this->find($id, $system, $action); |
102 | 104 | } |
103 | 105 |