Skip to content

Commit ba4b97b

Browse files
committed
Updated the contracts
1 parent d31b9f8 commit ba4b97b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/LoaderInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ interface LoaderInterface
1515
/**
1616
* Loads data in the given sink.
1717
*
18-
* @return \Generator<mixed, ResultBucketInterface<OutputType>, InputType|null, void>
18+
* @return \Generator<mixed, ResultBucketInterface<OutputType>, InputType, void>
1919
*/
2020
public function load(): \Generator;
2121
}

src/TransformerInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ interface TransformerInterface
1515
/**
1616
* Transforms the data from one format to another.
1717
*
18-
* @return \Generator<mixed, ResultBucketInterface<OutputType>|ResultBucketInterface<void>, InputType|null, void>
18+
* @return \Generator<mixed, ResultBucketInterface<OutputType>, InputType, void>
1919
*/
2020
public function transform(): \Generator;
2121
}

0 commit comments

Comments
 (0)