Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Get rid of deprecation notice for StreamedResponseListener
There is deprecation notice returned by Symfony's `DebugClassLoader`: > Method "Symfony\Component\EventDispatcher\EventSubscriberInterface::getSubscribedEvents()" might add "array" as a native return type declaration in the future. Do the same in implementation "K911\Swoole\Bridge\Symfony\HttpFoundation\StreamedResponseListener" now to avoid errors or add an explicit @return annotation to suppress this message Adding native return type is fully compatible and will clean that notice.
- Loading branch information