@@ -18,8 +18,8 @@ |
||
| 18 | 18 | * it's instantiated in there |
| 19 | 19 | */ |
| 20 | 20 | return [ |
| 21 | - 'routes' => [ |
|
| 21 | + 'routes' => [ |
|
| 22 | 22 | ['name' => 'ocr#process', 'url' => '/process', 'verb' => 'GET'], |
| 23 | 23 | ['name' => 'ocr#languages', 'url' => '/languages', 'verb' => 'GET'], |
| 24 | - ] |
|
| 24 | + ] |
|
| 25 | 25 | ]; |
| 26 | 26 | \ No newline at end of file |
@@ -70,7 +70,7 @@ |
||
| 70 | 70 | try { |
| 71 | 71 | if ($failed === 'false') { |
| 72 | 72 | $failed = false; |
| 73 | - }elseif ($failed === 'true') { |
|
| 73 | + } elseif ($failed === 'true') { |
|
| 74 | 74 | $failed = true; |
| 75 | 75 | } else { |
| 76 | 76 | throw new ServiceException('Wrong Arguments.'); |