We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74a8c3f commit 2518b72Copy full SHA for 2518b72
src/app/Commands/ProxyCommand.php
@@ -23,14 +23,17 @@ class ProxyCommand extends Command
23
protected $signature = 'proxy {--channel=} {--forward-url=}';
24
25
public function __construct(
26
- protected LoopInterface $loop,
27
protected WebhookProxy $webhookProxy,
28
) {
29
parent::__construct();
30
}
31
32
protected function getLoop(): LoopInterface
33
{
+ if (! isset($this->loop)) {
34
+ $this->loop = app(LoopInterface::class);
35
+ }
36
+
37
return $this->loop;
38
39
0 commit comments