mezzio / mezzio-swoole

Swoole support for Mezzio

Home Page:https://docs.mezzio.dev/mezzio-swoole/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

4.7.0 is not compatible with psr/http-messages:^2.0

grizzm0 opened this issue · comments

Bug Report

Q A
Version(s) 4.7.0

Summary

Upgrading to 4.7.0 with psr/http-message:^2.0 gives compatibility errors in Mezzio\Swoole\SwooleStream.

Fatal error: Declaration of Mezzio\Swoole\SwooleStream::close() must be compatible with Psr\Http\Message\StreamInterface::close(): void in /app/vendor/mezzio/mezzio-swoole/src/SwooleStream.php on line 242

Current behavior

How to reproduce

Expected behavior