diff --git a/src/LoaderInterface.php b/src/LoaderInterface.php index 9a4f969..5218497 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, ResultBucketInterface, InputType|null, void> */ public function load(): \Generator; } diff --git a/src/PipelineRunnerInterface.php b/src/PipelineRunnerInterface.php index aed94e0..66aa9a0 100644 --- a/src/PipelineRunnerInterface.php +++ b/src/PipelineRunnerInterface.php @@ -13,7 +13,7 @@ interface PipelineRunnerInterface * @template OutputType of non-empty-array|object * * @param \Iterator $source - * @param \Generator, InputType|null, void> $coroutine + * @param \Generator, ResultBucketInterface, InputType|null, void> $coroutine * @param StepRejectionInterface $rejection * @param StepStateInterface $state * @return \Iterator|null> diff --git a/src/TransformerInterface.php b/src/TransformerInterface.php index dea18c2..29f01ea 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, InputType|null, void> + * @return \Generator, ResultBucketInterface, InputType|null, void> */ public function transform(): \Generator; }