Skip to content

Commit

Permalink
Fixed a missing method in the NullRejection
Browse files Browse the repository at this point in the history
  • Loading branch information
gplanchat committed Nov 13, 2023
1 parent b5fe3ef commit 83934dc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/NullRejection.php
Original file line number Diff line number Diff line change
Expand Up @@ -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

Check failure on line 20 in src/NullRejection.php

View workflow job for this annotation

GitHub Actions / phpstan

Method Kiboko\Contract\Pipeline\NullRejection::rejectWithReason() has parameter $rejection with no value type specified in iterable type array.

Check failure on line 20 in src/NullRejection.php

View workflow job for this annotation

GitHub Actions / phpstan

Method Kiboko\Contract\Pipeline\NullRejection::rejectWithReason() has parameter $rejection with no value type specified in iterable type array.

Check failure on line 20 in src/NullRejection.php

View workflow job for this annotation

GitHub Actions / phpstan

Method Kiboko\Contract\Pipeline\NullRejection::rejectWithReason() has parameter $rejection with no value type specified in iterable type array.
{
// NOOP
}

public function teardown(): void
{
// NOOP
Expand Down

0 comments on commit 83934dc

Please sign in to comment.