File tree Expand file tree Collapse file tree 2 files changed +2
-12
lines changed
Expand file tree Collapse file tree 2 files changed +2
-12
lines changed Original file line number Diff line number Diff line change 22
33namespace Kiboko \Contract \Pipeline ;
44
5- use Kiboko \Contract \Bucket \ResultBucketInterface ;
6-
75final class NullState implements StateInterface
86{
97 public function initialize (int $ start = 0 ): void
108 {
119 // NOOP
1210 }
1311
14- public function increment (int $ step = 1 ): void
12+ public function accept (int $ step = 1 ): void
1513 {
1614 // NOOP
1715 }
@@ -20,9 +18,4 @@ public function reject(int $step = 1): void
2018 {
2119 // NOOP
2220 }
23-
24- public function incrementFromBucket (ResultBucketInterface $ bucket ): void
25- {
26- // NOOP
27- }
2821}
Original file line number Diff line number Diff line change 22
33namespace Kiboko \Contract \Pipeline ;
44
5- use Kiboko \Contract \Bucket \ResultBucketInterface ;
6-
75interface StateInterface
86{
97 public function initialize (int $ start = 0 ): void ;
10- public function increment (int $ step = 1 ): void ;
8+ public function accept (int $ step = 1 ): void ;
119 public function reject (int $ step = 1 ): void ;
12- public function incrementFromBucket (ResultBucketInterface $ bucket ): void ;
1310}
You can’t perform that action at this time.
0 commit comments