Completed
Pull Request — master (#11)
by Janis
03:05 queued 22s
created
appinfo/routes.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,8 +18,8 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
lib/Service/OcrService.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -350,7 +350,7 @@
 block discarded – undo
350 350
 				$this->logger->debug('Getting FileInfo did not work or not included in the ALLOWED_MIMETYPES array.', ['app' => 'ocr']);
351 351
 				throw new NotFoundException($this->l10n->t('Wrong parameters or wrong mimetype.'));
352 352
 			}
353
-		}catch (Exception $e){
353
+		} catch (Exception $e){
354 354
 			$this->handleException($e);
355 355
 		}
356 356
 	}
Please login to merge, or discard this patch.