From 1a57ffb6a9589a7da0811ae7d24955252c7635df Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Sat, 10 Oct 2020 19:13:46 +0200 Subject: [PATCH] refactor: Add return statement. Signed-off-by: Pol Dellaiera --- src/Operation/Tails.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Operation/Tails.php b/src/Operation/Tails.php index 767a5680f..63e0442f9 100644 --- a/src/Operation/Tails.php +++ b/src/Operation/Tails.php @@ -41,7 +41,7 @@ static function (Iterator $iterator): Generator { array_shift($data); } - yield []; + return yield []; }; } }