Completed
Pull Request — master (#93)
by Janis
14:35
created
lib/Service/JobService.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -239,7 +239,7 @@
 block discarded – undo
239 239
 				if ($job->getType () === 'tess' && $this->fileService->fileExists ( $job->getTempFile () . '.txt' )) {
240 240
 					// Save the tmp file with newname
241 241
 					$this->view->file_put_contents ( $job->getTarget (), $this->fileService->getFileContents ( $job->getTempFile () . '.txt' ) ); // need .txt because tesseract saves it like this
242
-					                                                                                                                      // Cleaning temp files
242
+																																		  // Cleaning temp files
243 243
 					$this->jobMapper->delete ( $job );
244 244
 					$this->fileService->execRemove ( $job->getTempFile () . '.txt' );
245 245
 				} elseif ($job->getType () === 'mypdf' && $this->fileService->fileExists ( $job->getTempFile () )) {
Please login to merge, or discard this patch.
appinfo/routes.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -18,10 +18,10 @@
 block discarded – undo
18 18
  * it's instantiated in there
19 19
  */
20 20
 return [
21
-    'routes' => [
21
+	'routes' => [
22 22
 		['name' => 'Job#process', 'url' => '/', 'verb' => 'POST'],
23
-    	['name' => 'Job#deleteJob', 'url' => '/', 'verb' => 'DELETE'],
24
-    	['name' => 'Job#getAllJobs', 'url' => '/', 'verb' => 'GET'],
23
+		['name' => 'Job#deleteJob', 'url' => '/', 'verb' => 'DELETE'],
24
+		['name' => 'Job#getAllJobs', 'url' => '/', 'verb' => 'GET'],
25 25
 		['name' => 'Status#getStatus', 'url' => '/', 'verb' => 'GET']
26
-    ]
26
+	]
27 27
 ];
28 28
\ No newline at end of file
Please login to merge, or discard this patch.