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 Oct 30, 2023
1 parent 6cf4983 commit b6d783c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/NullRejection.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public function initialize(): void
}

/** @param non-empty-array<mixed>|object $rejection */
public function reject(object|array $rejection, null|\Throwable $exception = null, null|string $reason = null): void
public function reject(object|array $rejection, \Throwable $exception = null, string $reason = null): void
{
// NOOP
}
Expand Down
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 @@ -9,7 +9,7 @@ interface RejectionInterface
public function initialize(): void;

/** @param non-empty-array<mixed>|object $rejection */
public function reject(object|array $rejection, null|\Throwable $exception = null, null|string $reason = null): void;
public function reject(object|array $rejection, \Throwable $exception = null, string $reason = null): void;

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 {}

0 comments on commit b6d783c

Please sign in to comment.