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 ba4b97b commit e842de5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/FlushableInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,13 @@

namespace Kiboko\Contract\Pipeline;

use Kiboko\Component\Bucket\EmptyResultBucket;
use Kiboko\Contract\Bucket\ResultBucketInterface;

/**
* @template Type of non-empty-array<array-key, mixed>|object
*/
interface FlushableInterface
{
/** @return ResultBucketInterface<Type>|EmptyResultBucket */
/** @return ResultBucketInterface<Type> */
public function flush(): ResultBucketInterface;
}

0 comments on commit e842de5

Please sign in to comment.