Completed
Pull Request — master (#6)
by Janis
340:04 queued 336:33
created
lib/Service/GearmanWorkerService.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
 	/**
39 39
 	 * Checks if a worker is active and registered at the Gearman Job Server.
40 40
 	 * returns false if not.
41
-	 * @return bool
41
+	 * @return boolean|null
42 42
 	 */
43 43
 	public function workerExists(){
44 44
 		try {
Please login to merge, or discard this patch.
lib/Service/OcrService.php 1 patch
Doc Comments   +4 added lines, -3 removed lines patch added patch discarded remove patch
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
 	 * Processes and prepares the files for ocr.
131 131
 	 * Sends the stuff to the gearman client in order to ocr async.
132 132
 	 *
133
-	 * @param $language
133
+	 * @param string $language
134 134
 	 * @param array $files
135 135
 	 * @return string
136 136
 	 */
@@ -199,7 +199,7 @@  discard block
 block discarded – undo
199 199
 	 * the gearman worker should call it automatically after each processing step.
200 200
 	 *
201 201
 	 * @param $statusId
202
-	 * @param $failed
202
+	 * @param boolean $failed
203 203
 	 */
204 204
 	public function complete($statusId, $failed){
205 205
 		try{
@@ -334,12 +334,13 @@  discard block
 block discarded – undo
334 334
 
335 335
 	/**
336 336
 	 * Inits the Gearman client and sends the task to the background worker (async)
337
-	 * @param $type
337
+	 * @param string $type
338 338
 	 * @param $datadirectory
339 339
 	 * @param $path
340 340
 	 * @param $tempFile
341 341
 	 * @param $language
342 342
 	 * @param $statusId
343
+	 * @param OcrStatus $status
343 344
 	 */
344 345
 	private function sendGearmanJob($type, $datadirectory, $path, $tempFile, $language, $status, $occDir){
345 346
 		try {
Please login to merge, or discard this patch.