Skip to content

Commit

Permalink
Fixing PHPStan level 9 issues
Browse files Browse the repository at this point in the history
  • Loading branch information
gplanchat committed Nov 14, 2023
1 parent 03375b7 commit 0b9624d
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion src/ExtractingInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
interface ExtractingInterface
{
/**
* @template OutputType of non-empty-array<array-key, mixed>|object
* @template OutputType
*
* @param ExtractorInterface<OutputType> $extractor
*/
Expand Down
2 changes: 1 addition & 1 deletion src/ExtractorInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

use Kiboko\Contract\Bucket\ResultBucketInterface;

/** @template OutputType of non-empty-array<array-key, mixed>|object */
/** @template OutputType */
interface ExtractorInterface
{
/**
Expand Down
2 changes: 1 addition & 1 deletion src/FlushableInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
use Kiboko\Contract\Bucket\ResultBucketInterface;

/**
* @template Type of non-empty-array<array-key, mixed>|object
* @template Type
*/
interface FlushableInterface
{
Expand Down
4 changes: 2 additions & 2 deletions src/LoaderInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
use Kiboko\Contract\Bucket\ResultBucketInterface;

/**
* @template InputType of non-empty-array<array-key, mixed>|object
* @template OutputType of non-empty-array<array-key, mixed>|object
* @template InputType
* @template OutputType
*/
interface LoaderInterface
{
Expand Down
4 changes: 2 additions & 2 deletions src/LoadingInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
interface LoadingInterface
{
/**
* @template InputType of non-empty-array<array-key, mixed>|object
* @template OutputType of non-empty-array<array-key, mixed>|object
* @template InputType
* @template OutputType
*
* @param LoaderInterface<InputType, OutputType> $loader
*/
Expand Down
4 changes: 2 additions & 2 deletions src/PipelineRunnerInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
interface PipelineRunnerInterface
{
/**
* @template InputType of non-empty-array<array-key, mixed>|object
* @template OutputType of non-empty-array<array-key, mixed>|object
* @template InputType
* @template OutputType
*
* @param \Iterator<positive-int, InputType|null> $source
* @param \Generator<int, ResultBucketInterface<InputType>, InputType|null, void> $coroutine
Expand Down
2 changes: 1 addition & 1 deletion src/StepRejectionInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
namespace Kiboko\Contract\Pipeline;

/**
* @template Type of non-empty-array<array-key, mixed>|object
* @template Type
*/
interface StepRejectionInterface
{
Expand Down
4 changes: 2 additions & 2 deletions src/TransformerInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
use Kiboko\Contract\Bucket\ResultBucketInterface;

/**
* @template InputType of non-empty-array<array-key, mixed>|object
* @template OutputType of non-empty-array<array-key, mixed>|object
* @template InputType
* @template OutputType
*/
interface TransformerInterface
{
Expand Down
4 changes: 2 additions & 2 deletions src/TransformingInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
interface TransformingInterface
{
/**
* @template InputType of non-empty-array<array-key, mixed>|object
* @template OutputType of non-empty-array<array-key, mixed>|object
* @template InputType
* @template OutputType
*
* @param TransformerInterface<InputType, OutputType> $transformer
*/
Expand Down

0 comments on commit 0b9624d

Please sign in to comment.