@@ -11,12 +11,12 @@ |
||
| 11 | 11 | { |
| 12 | 12 | $api = new Api; |
| 13 | 13 | |
| 14 | - $code = ProtectedHelper::catchExceptionCode(function () use ($api) { |
|
| 14 | + $code = ProtectedHelper::catchExceptionCode(function() use ($api) { |
|
| 15 | 15 | $api->withoutParams(); |
| 16 | 16 | }); |
| 17 | 17 | $this->assertEquals(0, $code); |
| 18 | 18 | |
| 19 | - $code = ProtectedHelper::catchExceptionCode(function () use ($api) { |
|
| 19 | + $code = ProtectedHelper::catchExceptionCode(function() use ($api) { |
|
| 20 | 20 | $api->notExisted(); |
| 21 | 21 | }); |
| 22 | 22 | $this->assertEquals(Response::METHOD_NOT_FOUND, $code); |