Skip to content

Commit

Permalink
Fixed documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
aimeos committed May 25, 2017
1 parent bedd0e3 commit 7ec89a0
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion lib/mwlib/src/MW/DB/Statement/Base.php
Expand Up @@ -92,7 +92,7 @@ protected function buildSQL( array $parts, array $binds )
/**
* Returns the connection object
*
* @return \Aimeos\MW\DB\Connection\DBAL Connection object
* @return \Aimeos\MW\DB\Connection\Iface Connection object
*/
protected function getConnection()
{
Expand Down
6 changes: 3 additions & 3 deletions lib/mwlib/src/MW/Process/Decorator/Check.php
Expand Up @@ -27,7 +27,7 @@ class Check implements Iface
/**
* Initializes the object
*
* @param Aimeos\MW\Process\Iface $object Parallel processing object
* @param \Aimeos\MW\Process\Iface $object Parallel processing object
*/
public function __construct( \Aimeos\MW\Process\Iface $object )
{
Expand All @@ -52,7 +52,7 @@ public function isAvailable()
* @param \Closure $fcn Anonymous function to execute
* @param array $data List of parameters that is passed to the closure function
* @param boolean $restart True if the task should be restarted if it fails (only once)
* @return void
* @return \Aimeos\MW\Process\Iface Self object for method chaining
* @throws \Aimeos\MW\Process\Exception If starting the new task failed
*/
public function start( \Closure $fcn, array $data, $restart = false )
Expand All @@ -70,7 +70,7 @@ public function start( \Closure $fcn, array $data, $restart = false )
/**
* Waits for the running tasks until all have finished
*
* @return void
* @return \Aimeos\MW\Process\Iface Self object for method chaining
*/
public function wait()
{
Expand Down
3 changes: 2 additions & 1 deletion lib/mwlib/src/MW/Process/Decorator/Iface.php
Expand Up @@ -22,7 +22,8 @@ interface Iface extends \Aimeos\MW\Process\Iface
/**
* Initializes the object
*
* @param Aimeos\MW\Process\Iface $object Parallel processing object
* @param \Aimeos\MW\Process\Iface $object Parallel processing object
* @return void
*/
public function __construct( \Aimeos\MW\Process\Iface $object );
}
4 changes: 2 additions & 2 deletions lib/mwlib/src/MW/Process/Iface.php
Expand Up @@ -32,14 +32,14 @@ public function isAvailable();
* @param \Closure $fcn Anonymous function to execute
* @param array $data List of parameters that is passed to the closure function
* @param boolean $restart True if the task should be restarted if it fails (only once)
* @return void
* @return \Aimeos\MW\Process\Iface Self object for method chaining
*/
public function start( \Closure $fcn, array $data, $restart = false );

/**
* Waits for the running tasks until all have finished
*
* @return void
* @return \Aimeos\MW\Process\Iface Self object for method chaining
*/
public function wait();
}
5 changes: 3 additions & 2 deletions lib/mwlib/src/MW/Process/Pcntl.php
Expand Up @@ -29,6 +29,7 @@ class Pcntl implements Iface
*
* @param integer $max Maximum number of tasks allowed to run in parallel
* @param integer $prio Task priority from -20 (high) to 20 (low)
* @return void
* @throws \Aimeos\MW\Process\Exception If setting up the signal handler failed
*/
public function __construct( $max = 4, $prio = 19 )
Expand Down Expand Up @@ -74,7 +75,7 @@ public function isAvailable()
* @param \Closure $fcn Anonymous function to execute
* @param array $data List of parameters that is passed to the closure function
* @param boolean $restart True if the task should be restarted if it fails (only once)
* @return void
* @return \Aimeos\MW\Process\Iface Self object for method chaining
* @throws \Aimeos\MW\Process\Exception If starting the new task failed
*/
public function start( \Closure $fcn, array $data, $restart = false )
Expand Down Expand Up @@ -109,7 +110,7 @@ public function start( \Closure $fcn, array $data, $restart = false )
/**
* Waits for the running tasks until all have finished
*
* @return void
* @return \Aimeos\MW\Process\Iface Self object for method chaining
*/
public function wait()
{
Expand Down

0 comments on commit 7ec89a0

Please sign in to comment.