@@ -10,9 +10,9 @@ |
||
| 10 | 10 | |
| 11 | 11 | class CIPHPUnitTestRequest |
| 12 | 12 | { |
| 13 | - /** |
|
| 14 | - * @var TestCase |
|
| 15 | - */ |
|
| 13 | + /** |
|
| 14 | + * @var TestCase |
|
| 15 | + */ |
|
| 16 | 16 | protected $testCase; |
| 17 | 17 | |
| 18 | 18 | /** |
@@ -154,8 +154,7 @@ discard block |
||
| 154 | 154 | ); |
| 155 | 155 | $this->testCase->disableStrictErrorCheck(); |
| 156 | 156 | return $ret; |
| 157 | - } |
|
| 158 | - else |
|
| 157 | + } else |
|
| 159 | 158 | { |
| 160 | 159 | $ret = $this->requestUri($http_method, $argv, $params); |
| 161 | 160 | $this->testCase->disableStrictErrorCheck(); |
@@ -169,8 +168,7 @@ discard block |
||
| 169 | 168 | if ($e->getCode() === 0) |
| 170 | 169 | { |
| 171 | 170 | set_status_header(200); |
| 172 | - } |
|
| 173 | - else |
|
| 171 | + } else |
|
| 174 | 172 | { |
| 175 | 173 | set_status_header($e->getCode()); |
| 176 | 174 | } |