Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/refactor-handlers' into refactor…
Browse files Browse the repository at this point in the history
…-handlers
  • Loading branch information
xepozz committed Dec 25, 2023
2 parents 4a31aac + 101e251 commit dc2cd05
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/di.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
return [
WorkerInterface::class => QueueWorker::class,
LoopInterface::class => static function (ContainerInterface $container): LoopInterface {
return $container->get(extension_loaded('pcntl')
return $container->get(
extension_loaded('pcntl')
? SignalLoop::class
: SimpleLoop::class
);
Expand Down

0 comments on commit dc2cd05

Please sign in to comment.