Skip to content

Commit 58ed01d

Browse files
committed
Fix remaining PHPStan warning for add() method
Signed-off-by: bota <Bota@dotkernel.com>
1 parent 99a0959 commit 58ed01d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/Swoole/Delegators/TCPServerDelegator.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ public function __invoke(ContainerInterface $container, string $serviceName, cal
6868
if (method_exists($application, 'addCommand')) {
6969
$application->addCommand($commandInstance);
7070
} else {
71+
/** @phpstan-ignore method.notFound */
7172
$application->add($commandInstance);
7273
}
7374

0 commit comments

Comments
 (0)