Skip to content

Commit

Permalink
Merge pull request #87 from linuxd3v/docfix-correct-namespace
Browse files Browse the repository at this point in the history
Corrected namespace of `\Task\` in code examples
  • Loading branch information
Ocramius authored Feb 15, 2022
2 parents 5849397 + 7fcfda6 commit 550c3d8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/book/v4/async-tasks.md
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@ First, we will configure the `TaskInvokerListener` for the `TaskEvent`:
// in config/autoload/swoole.global.php or similar:

use Mezzio\Swoole\Event\TaskEvent;
use Mezzio\Swoole\Event\TaskInvokerListener;
use Mezzio\Swoole\Task\TaskInvokerListener;

return [
'mezzio-swoole' => [
Expand Down Expand Up @@ -729,7 +729,7 @@ We will also add configuration to bind the `TaskInvokerListener` to the `TaskEve
use Example\SomeDeferrableEventListener;
use Example\SomeDeferrableEventListenerFactory;
use Mezzio\Swoole\Event\TaskEvent;
use Mezzio\Swoole\Event\TaskInvokerListener;
use Mezzio\Swoole\Task\TaskInvokerListener;

return [
'dependencies' => [
Expand Down Expand Up @@ -850,7 +850,7 @@ use Example\SomeDeferrableEvent;
use Example\SomeDeferrableEventListener;
use Example\SomeDeferrableEventListenerFactory;
use Mezzio\Swoole\Event\TaskEvent;
use Mezzio\Swoole\Event\TaskInvokerListener;
use Mezzio\Swoole\Task\TaskInvokerListener;
use Mezzio\Swoole\Task\DeferredServiceListenerDelegator;

return [
Expand Down

0 comments on commit 550c3d8

Please sign in to comment.