Skip to content

Commit

Permalink
Ran php-cs-fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
sebprt committed Jul 3, 2024
1 parent acbc609 commit 78207c5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Rejection.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public static function withAuthentication(
public function reject(object|array $rejection, ?\Throwable $exception = null): void

Check failure on line 73 in src/Rejection.php

View workflow job for this annotation

GitHub Actions / phpstan-6

Method Kiboko\Component\Flow\RabbitMQ\Rejection::reject() has parameter $rejection with no value type specified in iterable type array.
{
$this->channel->publish(
json_encode([
\json_encode([
'item' => $rejection,
'exception' => $exception,
'step' => $this->stepUuid,
Expand All @@ -89,7 +89,7 @@ public function reject(object|array $rejection, ?\Throwable $exception = null):
public function rejectWithReason(object|array $rejection, string $reason, ?\Throwable $exception = null): void

Check failure on line 89 in src/Rejection.php

View workflow job for this annotation

GitHub Actions / phpstan-6

Method Kiboko\Component\Flow\RabbitMQ\Rejection::rejectWithReason() has parameter $rejection with no value type specified in iterable type array.
{
$this->channel->publish(
json_encode([
\json_encode([
'item' => $rejection,
'reason' => $reason,
'exception' => $exception,
Expand Down
3 changes: 2 additions & 1 deletion src/State.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ public function __construct(
private readonly StateManager $manager,
private readonly string $stepCode,
private readonly string $stepLabel,
) {}
) {
}

public function accept(int $count = 1): void
{
Expand Down

0 comments on commit 78207c5

Please sign in to comment.