1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-21 21:31:13 +01:00

Remove unnecessary annotation

This commit is contained in:
Matthew Brown 2020-04-05 00:54:31 -04:00
parent f0b4533ba4
commit 4191f7a259
2 changed files with 1 additions and 1 deletions

View File

@ -40,6 +40,7 @@
},
"require-dev": {
"ext-curl": "*",
"amphp/amp": "^2.4.2",
"bamarni/composer-bin-plugin": "^1.2",
"brianium/paratest": "^4.0.0",
"phpmyadmin/sql-parser": "5.1.0",

View File

@ -53,7 +53,6 @@ class ProtocolStreamReader implements ProtocolReader
*/
function () use ($input) : \Generator {
while ($this->is_accepting_new_requests) {
/** @var Promise<?string> */
$read_promise = $input->read();
$chunk = yield $read_promise;