Skip to content

Commit

Permalink
clean up and added php docs
Browse files Browse the repository at this point in the history
  • Loading branch information
prolic committed Feb 16, 2017
1 parent 7fed3df commit c0f2513
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/Exception/CommandDispatchException.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@

class CommandDispatchException extends MessageDispatchException
{
/**
* @var array
*/
private $pendingCommands = [];

public static function wrap(\Throwable $dispatchException, array $pendingCommands): CommandDispatchException
Expand Down
3 changes: 3 additions & 0 deletions src/Plugin/AbstractPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@

abstract class AbstractPlugin implements Plugin
{
/**
* @var array
*/
protected $listenerHandlers = [];

public function detachFromMessageBus(MessageBus $messageBus): void
Expand Down
1 change: 0 additions & 1 deletion src/QueryBus.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
use Prooph\ServiceBus\Exception\MessageDispatchException;
use Prooph\ServiceBus\Exception\RuntimeException;
use React\Promise\Deferred;
use React\Promise\Promise;
use React\Promise\PromiseInterface;

/**
Expand Down

0 comments on commit c0f2513

Please sign in to comment.