Skip to content

Commit

Permalink
Run CS-Fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
gplanchat committed Nov 13, 2023
1 parent 6d710d0 commit b5fe3ef
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 11 deletions.
4 changes: 1 addition & 3 deletions src/RejectedItemException.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,4 @@

namespace Kiboko\Contract\Pipeline;

final class RejectedItemException extends \RuntimeException
{
}
final class RejectedItemException extends \RuntimeException {}
2 changes: 1 addition & 1 deletion src/RejectionInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public function initialize(): void;
/** @param non-empty-array<mixed>|object $rejection */
public function reject(StepCodeInterface $step, array|object $rejection, \Throwable $exception = null): void;

public function rejectWithReason(StepCodeInterface $step, object|array $rejection, string $reason, null|\Throwable $exception = null): void;
public function rejectWithReason(StepCodeInterface $step, array|object $rejection, string $reason, \Throwable $exception = null): void;

Check failure on line 14 in src/RejectionInterface.php

View workflow job for this annotation

GitHub Actions / phpstan

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

Check failure on line 14 in src/RejectionInterface.php

View workflow job for this annotation

GitHub Actions / phpstan

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

Check failure on line 14 in src/RejectionInterface.php

View workflow job for this annotation

GitHub Actions / phpstan

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

public function teardown(): void;
}
4 changes: 1 addition & 3 deletions src/RunnableInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,4 @@
use Kiboko\Contract\Satellite\RunnableInterface as SatelliteRunableInterface;

/** @deprecated Use \Kiboko\Contract\Job\RunnableInterface instead */
interface RunnableInterface extends SatelliteRunableInterface
{
}
interface RunnableInterface extends SatelliteRunableInterface {}
4 changes: 1 addition & 3 deletions src/StepCodeInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,4 @@

namespace Kiboko\Contract\Pipeline;

interface StepCodeInterface extends \Stringable
{
}
interface StepCodeInterface extends \Stringable {}
2 changes: 1 addition & 1 deletion src/StepRejectionInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public function initialize(): void;
/** @param non-empty-array<mixed>|object $rejection */
public function reject(array|object $rejection, \Throwable $exception = null): void;

public function rejectWithReason(object|array $rejection, string $reason, null|\Throwable $exception = null): void;
public function rejectWithReason(array|object $rejection, string $reason, \Throwable $exception = null): void;

Check failure on line 14 in src/StepRejectionInterface.php

View workflow job for this annotation

GitHub Actions / phpstan

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

Check failure on line 14 in src/StepRejectionInterface.php

View workflow job for this annotation

GitHub Actions / phpstan

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

Check failure on line 14 in src/StepRejectionInterface.php

View workflow job for this annotation

GitHub Actions / phpstan

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

public function teardown(): void;
}

0 comments on commit b5fe3ef

Please sign in to comment.