Skip to content
This repository has been archived by the owner on Jan 27, 2022. It is now read-only.

Fix "NULL returned" for compatibility with symphony 4.4 #24

Merged
merged 3 commits into from
Sep 16, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Commands/SubscribeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ protected function configure(): void
->setHelp('bin/console nats:subscribe your.queue.name [-t timeout]');
}

protected function execute(InputInterface $input, OutputInterface $output): ?int
protected function execute(InputInterface $input, OutputInterface $output): int
{
$queue = $input->getArgument('queue');

Expand Down Expand Up @@ -129,7 +129,7 @@ protected function execute(InputInterface $input, OutputInterface $output): ?int
return 1;
}

return null;
return 0;
}

private function configureSubscription(
Expand Down