Skip to content

Commit 38435e5

Browse files
committed
Change interface used on the Rejection object
1 parent b74c606 commit 38435e5

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/Rejection.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,9 @@
66

77
use Bunny\Channel;
88
use Bunny\Client;
9-
use Kiboko\Contract\Pipeline\RejectionInterface;
10-
use Kiboko\Contract\Pipeline\RejectionWithReasonInterface;
9+
use Kiboko\Contract\Pipeline\StepRejectionInterface;
1110

12-
final readonly class Rejection implements RejectionInterface, RejectionWithReasonInterface
11+
final readonly class Rejection implements StepRejectionInterface
1312
{
1413
private Channel $channel;
1514

0 commit comments

Comments
 (0)