Skip to content

Commit

Permalink
Updated the contracts
Browse files Browse the repository at this point in the history
  • Loading branch information
gplanchat committed Nov 14, 2023
1 parent d31b9f8 commit ba4b97b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/LoaderInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ interface LoaderInterface
/**
* Loads data in the given sink.
*
* @return \Generator<mixed, ResultBucketInterface<OutputType>, InputType|null, void>
* @return \Generator<mixed, ResultBucketInterface<OutputType>, InputType, void>
*/
public function load(): \Generator;
}
2 changes: 1 addition & 1 deletion src/TransformerInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ interface TransformerInterface
/**
* Transforms the data from one format to another.
*
* @return \Generator<mixed, ResultBucketInterface<OutputType>|ResultBucketInterface<void>, InputType|null, void>
* @return \Generator<mixed, ResultBucketInterface<OutputType>, InputType, void>
*/
public function transform(): \Generator;
}

0 comments on commit ba4b97b

Please sign in to comment.