@@ -112,11 +112,9 @@ discard block |
||
112 | 112 | |
113 | 113 | // this is our opportunity to tell the user how our story(ies) |
114 | 114 | // went in detail |
115 | - foreach ($this->results as $result) |
|
116 | - { |
|
115 | + foreach ($this->results as $result) { |
|
117 | 116 | // so what happened? |
118 | - switch ($result->resultCode) |
|
119 | - { |
|
117 | + switch ($result->resultCode) { |
|
120 | 118 | case PhaseGroup_Result::OKAY: |
121 | 119 | // this is a good result |
122 | 120 | $succeededGroups[] = $result; |
@@ -303,8 +301,7 @@ discard block |
||
303 | 301 | |
304 | 302 | // does the phase have an exception? |
305 | 303 | $e = $phaseResult->getException(); |
306 | - if ($e) |
|
307 | - { |
|
304 | + if ($e) { |
|
308 | 305 | $stackTrace = $e->getTrace(); |
309 | 306 | $trace = $e->getTraceAsString(); |
310 | 307 | } |
@@ -1137,8 +1137,7 @@ |
||
1137 | 1137 | public function getOneAction() |
1138 | 1138 | { |
1139 | 1139 | // do we have any callbacks to pick from? |
1140 | - if (count($this->actionsCallbacks) == 0) |
|
1141 | - { |
|
1140 | + if (count($this->actionsCallbacks) == 0) { |
|
1142 | 1141 | throw new E5xx_NoStoryActions($this->getName()); |
1143 | 1142 | } |
1144 | 1143 |