Skip to content

Commit 8ad1646

Browse files
committed
Issue #72: Replaced deprecated method
Signed-off-by: bota <Bota@dotkernel.com>
1 parent 47ccbfa commit 8ad1646

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Swoole/Delegators/TCPServerDelegator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public function __invoke(ContainerInterface $container, string $serviceName, cal
6363
$commandClass = $commandMap[$commandName];
6464
$application = new Application();
6565
$commandInstance = $container->get($commandClass);
66-
$application->add($commandInstance);
66+
$application->addCommand($commandInstance);
6767

6868
$parsedOptions = [];
6969
foreach ($args as $arg) {

0 commit comments

Comments
 (0)