From 57fc8fa33743fdbc55e1c1e025298b86b4464b5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9gory=20Planchat?= Date: Tue, 14 Nov 2023 09:43:47 +0100 Subject: [PATCH] Fixing PHPStan level 9 issues --- src/FlushableInterface.php | 2 +- src/PipelineRunnerInterface.php | 2 +- src/StepRejectionInterface.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/FlushableInterface.php b/src/FlushableInterface.php index c2abbd0..73f7a92 100644 --- a/src/FlushableInterface.php +++ b/src/FlushableInterface.php @@ -8,7 +8,7 @@ use Kiboko\Contract\Bucket\ResultBucketInterface; /** - * @template Type + * @template Type of non-empty-array|object */ interface FlushableInterface { diff --git a/src/PipelineRunnerInterface.php b/src/PipelineRunnerInterface.php index dcf7b11..a570326 100644 --- a/src/PipelineRunnerInterface.php +++ b/src/PipelineRunnerInterface.php @@ -11,7 +11,7 @@ interface PipelineRunnerInterface { /** - * @template Type + * @template Type of non-empty-array|object * * @param \Iterator $source * @param \Generator&(AcceptanceResultBucketInterface|RejectionResultBucketInterface), Type|null, void> $async diff --git a/src/StepRejectionInterface.php b/src/StepRejectionInterface.php index 60f79c0..9d60ba0 100644 --- a/src/StepRejectionInterface.php +++ b/src/StepRejectionInterface.php @@ -5,7 +5,7 @@ namespace Kiboko\Contract\Pipeline; /** - * @template Type + * @template Type of non-empty-array|object */ interface StepRejectionInterface {