@@ -78,7 +78,7 @@ |
||
| 78 | 78 | * @param string $target |
| 79 | 79 | * @param null $tempFile |
| 80 | 80 | * @param string $type |
| 81 | - * @param null $userId |
|
| 81 | + * @param string $userId |
|
| 82 | 82 | * @param boolean $errorDisplayed |
| 83 | 83 | */ |
| 84 | 84 | public function __construct($status = null, $source = null, $target = null, $tempFile = null, $type = null, $userId = null, $errorDisplayed = null) { |
@@ -17,7 +17,6 @@ |
||
| 17 | 17 | use OCP\IL10N; |
| 18 | 18 | use OCP\ITempManager; |
| 19 | 19 | use OCA\Ocr\Db\OcrJob; |
| 20 | -use OCA\Ocr\Db\File; |
|
| 21 | 20 | |
| 22 | 21 | /** |
| 23 | 22 | * Class JobService |
@@ -182,7 +182,7 @@ |
||
| 182 | 182 | /** |
| 183 | 183 | * Removes ".txt" from the newName of a OCR job |
| 184 | 184 | * |
| 185 | - * @param $job OcrJob |
|
| 185 | + * @param OcrJob $job OcrJob |
|
| 186 | 186 | * @return string |
| 187 | 187 | */ |
| 188 | 188 | public function removeFileExtension($job) { |