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 57fc8fa commit d57d2db
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/PipelineRunnerInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,14 @@
interface PipelineRunnerInterface
{
/**
* @template Type of non-empty-array<array-key, mixed>|object
* @template InputType of non-empty-array<array-key, mixed>|object
* @template OutputType of non-empty-array<array-key, mixed>|object
*
* @param \Iterator<int, Type|null> $source
* @param \Generator<int, ResultBucketInterface<Type>&(AcceptanceResultBucketInterface<Type>|RejectionResultBucketInterface<Type>), Type|null, void> $async
*
* @return \Iterator<int, ResultBucketInterface<Type|null>>
* @param \Iterator<int, InputType|null> $source
* @param \Generator<int, (ResultBucketInterface<OutputType>&(AcceptanceResultBucketInterface<InputType>|RejectionResultBucketInterface<InputType>))|null, InputType, void> $coroutine
* @param StepRejectionInterface<InputType> $rejection
* @param StepStateInterface $state
* @return \Iterator<int, ResultBucketInterface<OutputType|null>>
*/
public function run(

Check failure on line 23 in src/PipelineRunnerInterface.php

View workflow job for this annotation

GitHub Actions / phpstan

PHPDoc tag @param references unknown parameter: $coroutine

Check failure on line 23 in src/PipelineRunnerInterface.php

View workflow job for this annotation

GitHub Actions / phpstan

Template type OutputType of method Kiboko\Contract\Pipeline\PipelineRunnerInterface::run() is not referenced in a parameter.
\Iterator $source,
Expand Down

0 comments on commit d57d2db

Please sign in to comment.