From ba4b97b9e1947561fa7f73b1576738a8e0a2fa0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9gory=20Planchat?= Date: Tue, 14 Nov 2023 11:21:42 +0100 Subject: [PATCH] Updated the contracts --- src/LoaderInterface.php | 2 +- src/TransformerInterface.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/LoaderInterface.php b/src/LoaderInterface.php index 9f50778..fe50932 100644 --- a/src/LoaderInterface.php +++ b/src/LoaderInterface.php @@ -15,7 +15,7 @@ interface LoaderInterface /** * Loads data in the given sink. * - * @return \Generator, InputType|null, void> + * @return \Generator, InputType, void> */ public function load(): \Generator; } diff --git a/src/TransformerInterface.php b/src/TransformerInterface.php index 48e17d8..18d731a 100644 --- a/src/TransformerInterface.php +++ b/src/TransformerInterface.php @@ -15,7 +15,7 @@ interface TransformerInterface /** * Transforms the data from one format to another. * - * @return \Generator|ResultBucketInterface, InputType|null, void> + * @return \Generator, InputType, void> */ public function transform(): \Generator; }