@@ -73,13 +73,13 @@ |
||
73 | 73 | /** |
74 | 74 | * OcrStatus constructor. |
75 | 75 | * |
76 | - * @param null $status |
|
76 | + * @param string $status |
|
77 | 77 | * @param null $fileId |
78 | - * @param null $newName |
|
78 | + * @param string $newName |
|
79 | 79 | * @param null $tempFile |
80 | - * @param null $type |
|
80 | + * @param string $type |
|
81 | 81 | * @param null $userId |
82 | - * @param null $errorDisplayed |
|
82 | + * @param boolean $errorDisplayed |
|
83 | 83 | */ |
84 | 84 | public function __construct($status = null, $fileId = null, $newName = null, $tempFile = null, $type = null, $userId = null, $errorDisplayed = null) { |
85 | 85 | $this->setStatus($status); |
@@ -240,6 +240,7 @@ discard block |
||
240 | 240 | * The PersonalSettingsController will have the opportunity to delete ocr status objects. |
241 | 241 | * |
242 | 242 | * @param $statusId |
243 | + * @param string $userId |
|
243 | 244 | * @return OcrStatus |
244 | 245 | */ |
245 | 246 | public function deleteStatus($statusId, $userId) { |
@@ -269,7 +270,7 @@ discard block |
||
269 | 270 | /** |
270 | 271 | * Gets all status objects for a specific user in order to list them on the personal settings page. |
271 | 272 | * |
272 | - * @param $userId |
|
273 | + * @param string $userId |
|
273 | 274 | * @return array |
274 | 275 | */ |
275 | 276 | public function getAllForPersonal($userId) { |
@@ -16,7 +16,6 @@ |
||
16 | 16 | use OCA\Ocr\Db\OcrStatus; |
17 | 17 | use OCA\Ocr\Db\OcrStatusMapper; |
18 | 18 | use OCP\AppFramework\Db\DoesNotExistException; |
19 | -use OCP\AppFramework\Db\Entity; |
|
20 | 19 | use OCP\Files; |
21 | 20 | use OCP\Files\FileInfo; |
22 | 21 | use OCP\IConfig; |