Skip to content

Commit 632e119

Browse files
committed
Updated generics types
1 parent 5e0b1b7 commit 632e119

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/FlushableInterface.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,14 @@
44

55
namespace Kiboko\Contract\Pipeline;
66

7+
use Kiboko\Component\Bucket\EmptyResultBucket;
78
use Kiboko\Contract\Bucket\ResultBucketInterface;
89

910
/**
1011
* @template Type
1112
*/
1213
interface FlushableInterface
1314
{
14-
/** @return ResultBucketInterface<Type> */
15+
/** @return ResultBucketInterface<Type>|EmptyResultBucket */
1516
public function flush(): ResultBucketInterface;
1617
}

0 commit comments

Comments
 (0)