Skip to content

Commit d57d2db

Browse files
committed
Fixing PHPStan level 9 issues
1 parent 57fc8fa commit d57d2db

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

src/PipelineRunnerInterface.php

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,14 @@
1111
interface PipelineRunnerInterface
1212
{
1313
/**
14-
* @template Type of non-empty-array<array-key, mixed>|object
14+
* @template InputType of non-empty-array<array-key, mixed>|object
15+
* @template OutputType of non-empty-array<array-key, mixed>|object
1516
*
16-
* @param \Iterator<int, Type|null> $source
17-
* @param \Generator<int, ResultBucketInterface<Type>&(AcceptanceResultBucketInterface<Type>|RejectionResultBucketInterface<Type>), Type|null, void> $async
18-
*
19-
* @return \Iterator<int, ResultBucketInterface<Type|null>>
17+
* @param \Iterator<int, InputType|null> $source
18+
* @param \Generator<int, (ResultBucketInterface<OutputType>&(AcceptanceResultBucketInterface<InputType>|RejectionResultBucketInterface<InputType>))|null, InputType, void> $coroutine
19+
* @param StepRejectionInterface<InputType> $rejection
20+
* @param StepStateInterface $state
21+
* @return \Iterator<int, ResultBucketInterface<OutputType|null>>
2022
*/
2123
public function run(
2224
\Iterator $source,

0 commit comments

Comments
 (0)