Skip to content

Commit 9aac0b9

Browse files
committed
Updated the RejectionInterface and StateInterface, tagged to version 0.3.x-dev
1 parent 7007a09 commit 9aac0b9

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
},
2929
"extra": {
3030
"branch-alias": {
31-
"dev-master": "0.2.x-dev"
31+
"dev-master": "0.3.x-dev"
3232
}
3333
}
3434
}

src/RejectionInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@
44

55
interface RejectionInterface
66
{
7+
public function initialize(int $start = 0): void;
78
public function reject(object|array $rejection, ?\Throwable $exception = null): void;
9+
public function teardown(): void;
810
}

src/StateInterface.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44

55
interface StateInterface
66
{
7-
public function initialize(int $start = 0): void;
7+
public function initialize(): void;
88
public function accept(int $step = 1): void;
99
public function reject(int $step = 1): void;
10+
public function error(int $step = 1): void;
11+
public function teardown(): void;
1012
}

0 commit comments

Comments
 (0)