1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-26 20:34:47 +01:00

Fix handling of old amp

This commit is contained in:
Matthew Brown 2020-04-05 01:14:26 -04:00
parent d1270a61c7
commit e34a3a9281

View File

@ -50,6 +50,8 @@ class ProtocolStreamReader implements ProtocolReader
/**
* @return \Generator<int, Promise<?string>, ?string, void>
* @psalm-suppress MixedReturnTypeCoercion
* @psalm-suppress MixedArgument in old Amp versions
* @psalm-suppress MixedAssignment in old Amp versions
*/
function () use ($input) : \Generator {
while ($this->is_accepting_new_requests) {