mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +01:00
Fix handling of old amp
This commit is contained in:
parent
d1270a61c7
commit
e34a3a9281
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user