From 83934dc1d6775633f1c93ce87e4313f29800edc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9gory=20Planchat?= Date: Mon, 13 Nov 2023 12:29:58 +0100 Subject: [PATCH] Fixed a missing method in the NullRejection --- src/NullRejection.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/NullRejection.php b/src/NullRejection.php index b2d5ab7..ee503f9 100644 --- a/src/NullRejection.php +++ b/src/NullRejection.php @@ -17,6 +17,11 @@ public function reject(StepCodeInterface $step, array|object $rejection, \Throwa // NOOP } + public function rejectWithReason(StepCodeInterface $step, object|array $rejection, string $reason, \Throwable $exception = null): void + { + // NOOP + } + public function teardown(): void { // NOOP