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 0b9624d commit 2e752f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/PipelineRunnerInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ interface PipelineRunnerInterface
* @template InputType
* @template OutputType
*
* @param \Iterator<positive-int, InputType|null> $source
* @param \Iterator<int, InputType|null> $source
* @param \Generator<int, ResultBucketInterface<InputType>, InputType|null, void> $coroutine
* @param StepRejectionInterface<InputType> $rejection
* @param StepStateInterface $state
* @return \Iterator<positive-int, ResultBucketInterface<OutputType>|null>
* @return \Iterator<int, ResultBucketInterface<OutputType>|null>
*/
public function run(

Check failure on line 21 in src/PipelineRunnerInterface.php

View workflow job for this annotation

GitHub Actions / phpstan

PHPDoc tag @param references unknown parameter: $coroutine

Check failure on line 21 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.

Check failure on line 21 in src/PipelineRunnerInterface.php

View workflow job for this annotation

GitHub Actions / phpstan

Type mixed in generic type Kiboko\Contract\Bucket\ResultBucketInterface<mixed> in PHPDoc tag @return is not subtype of template type Type of array|object of interface Kiboko\Contract\Bucket\ResultBucketInterface.
\Iterator $source,
Expand Down

0 comments on commit 2e752f6

Please sign in to comment.