Completed
Pull Request — master (#43)
by Janis
03:35
created
lib/Db/OcrStatus.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -73,13 +73,13 @@
 block discarded – undo
73 73
 	/**
74 74
 	 * OcrStatus constructor.
75 75
 	 *
76
-	 * @param null $status
77
-	 * @param null $source
78
-	 * @param null $target
76
+	 * @param string $status
77
+	 * @param string $source
78
+	 * @param string $target
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, $source = null, $target = null, $tempFile = null, $type = null, $userId = null, $errorDisplayed = null) {
85 85
 		$this->setStatus($status);
Please login to merge, or discard this patch.
lib/Service/OcrService.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -252,6 +252,7 @@  discard block
 block discarded – undo
252 252
 	 * The PersonalSettingsController will have the opportunity to delete ocr status objects.
253 253
 	 *
254 254
 	 * @param $statusId
255
+	 * @param string $userId
255 256
 	 * @return OcrStatus
256 257
 	 */
257 258
 	public function deleteStatus($statusId, $userId) {
@@ -281,7 +282,7 @@  discard block
 block discarded – undo
281 282
 	/**
282 283
 	 * Gets all status objects for a specific user in order to list them on the personal settings page.
283 284
 	 *
284
-	 * @param $userId
285
+	 * @param string $userId
285 286
 	 * @return array
286 287
 	 */
287 288
 	public function getAllForPersonal($userId) {
@@ -429,7 +430,7 @@  discard block
 block discarded – undo
429 430
 
430 431
 	/**
431 432
 	 * @param File $fileInfo
432
-	 * @return bool
433
+	 * @return boolean|null
433 434
 	 */
434 435
 	private function checkSharedWithInitiator($fileInfo) {
435 436
 		try {
Please login to merge, or discard this patch.