Skip to content

Commit

Permalink
Fixed PHPStan issues, upgraded to level 5
Browse files Browse the repository at this point in the history
  • Loading branch information
gplanchat committed Nov 13, 2023
1 parent b9264b8 commit bc4b79f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/quality.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Quality (PHPStan level 4)
name: Quality (PHPStan level 5)
on: push
jobs:
cs-fixer:
Expand Down
2 changes: 1 addition & 1 deletion src/NullRejection.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public function reject(StepCodeInterface $step, array|object $rejection, \Throwa
}

/** @param non-empty-array<array-key, mixed>|object $rejection */
public function rejectWithReason(StepCodeInterface $step, object|array $rejection, string $reason, \Throwable $exception = null): void
public function rejectWithReason(StepCodeInterface $step, array|object $rejection, string $reason, \Throwable $exception = null): void
{
// NOOP
}
Expand Down
2 changes: 1 addition & 1 deletion src/PipelineRunnerInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
interface PipelineRunnerInterface
{
/**
* @param \Iterator<int, array|object> $source
* @param \Iterator<int, array|object> $source
* @param \Generator<mixed, Type, ResultBucketInterface<Type>, void> $async
*
* @return \Iterator<array|object>
Expand Down

0 comments on commit bc4b79f

Please sign in to comment.