Skip to content

Commit 0b9624d

Browse files
committed
Fixing PHPStan level 9 issues
1 parent 03375b7 commit 0b9624d

9 files changed

+14
-14
lines changed

src/ExtractingInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
interface ExtractingInterface
88
{
99
/**
10-
* @template OutputType of non-empty-array<array-key, mixed>|object
10+
* @template OutputType
1111
*
1212
* @param ExtractorInterface<OutputType> $extractor
1313
*/

src/ExtractorInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
use Kiboko\Contract\Bucket\ResultBucketInterface;
88

9-
/** @template OutputType of non-empty-array<array-key, mixed>|object */
9+
/** @template OutputType */
1010
interface ExtractorInterface
1111
{
1212
/**

src/FlushableInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
use Kiboko\Contract\Bucket\ResultBucketInterface;
88

99
/**
10-
* @template Type of non-empty-array<array-key, mixed>|object
10+
* @template Type
1111
*/
1212
interface FlushableInterface
1313
{

src/LoaderInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
use Kiboko\Contract\Bucket\ResultBucketInterface;
88

99
/**
10-
* @template InputType of non-empty-array<array-key, mixed>|object
11-
* @template OutputType of non-empty-array<array-key, mixed>|object
10+
* @template InputType
11+
* @template OutputType
1212
*/
1313
interface LoaderInterface
1414
{

src/LoadingInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
interface LoadingInterface
88
{
99
/**
10-
* @template InputType of non-empty-array<array-key, mixed>|object
11-
* @template OutputType of non-empty-array<array-key, mixed>|object
10+
* @template InputType
11+
* @template OutputType
1212
*
1313
* @param LoaderInterface<InputType, OutputType> $loader
1414
*/

src/PipelineRunnerInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
interface PipelineRunnerInterface
1010
{
1111
/**
12-
* @template InputType of non-empty-array<array-key, mixed>|object
13-
* @template OutputType of non-empty-array<array-key, mixed>|object
12+
* @template InputType
13+
* @template OutputType
1414
*
1515
* @param \Iterator<positive-int, InputType|null> $source
1616
* @param \Generator<int, ResultBucketInterface<InputType>, InputType|null, void> $coroutine

src/StepRejectionInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
namespace Kiboko\Contract\Pipeline;
66

77
/**
8-
* @template Type of non-empty-array<array-key, mixed>|object
8+
* @template Type
99
*/
1010
interface StepRejectionInterface
1111
{

src/TransformerInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
use Kiboko\Contract\Bucket\ResultBucketInterface;
88

99
/**
10-
* @template InputType of non-empty-array<array-key, mixed>|object
11-
* @template OutputType of non-empty-array<array-key, mixed>|object
10+
* @template InputType
11+
* @template OutputType
1212
*/
1313
interface TransformerInterface
1414
{

src/TransformingInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
interface TransformingInterface
88
{
99
/**
10-
* @template InputType of non-empty-array<array-key, mixed>|object
11-
* @template OutputType of non-empty-array<array-key, mixed>|object
10+
* @template InputType
11+
* @template OutputType
1212
*
1313
* @param TransformerInterface<InputType, OutputType> $transformer
1414
*/

0 commit comments

Comments
 (0)