Completed
Push — master ( bedd0e...7ec89a )
by Aimeos
08:44
created
lib/mwlib/src/MW/Process/Pcntl.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
 	 *
30 30
 	 * @param integer $max Maximum number of tasks allowed to run in parallel
31 31
 	 * @param integer $prio Task priority from -20 (high) to 20 (low)
32
-	 * @return void
32
+	 * @return \Closure
33 33
 	 * @throws \Aimeos\MW\Process\Exception If setting up the signal handler failed
34 34
 	 */
35 35
 	public function __construct( $max = 4, $prio = 19 )
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
 	 * @param \Closure $fcn Anonymous function to execute
76 76
 	 * @param array $data List of parameters that is passed to the closure function
77 77
 	 * @param boolean $restart True if the task should be restarted if it fails (only once)
78
-	 * @return \Aimeos\MW\Process\Iface Self object for method chaining
78
+	 * @return null|Pcntl Self object for method chaining
79 79
 	 * @throws \Aimeos\MW\Process\Exception If starting the new task failed
80 80
 	 */
81 81
 	public function start( \Closure $fcn, array $data, $restart = false )
Please login to merge, or discard this patch.