filesystem
filesystem copied to clipboard
Fix php8.1 deprecation error
The error was caused by https://github.com/WyriHaximus/reactphp-child-process-messenger/blob/master/src/ChildInterface.php#L11
Must change return type to mixed
This might not be invalid after all, does the error you mention at https://github.com/WyriHaximus/reactphp-child-process-messenger/pull/79#issue-839954256 disappear when you add this line?
#[\ReturnTypeWillChange]
won't work, must remove void
from the interface return type.
#[\ReturnTypeWillChange]
won't work, must removevoid
from the interface return type.
It is not there for the latest tagged version: https://github.com/WyriHaximus/reactphp-child-process-messenger/blob/4.0.2/src/ChildInterface.php#L16
Close since the root library updated.