From d0f17cdc45a79aea77cfe1451b4c0c2a77a8fae2 Mon Sep 17 00:00:00 2001 From: Thomas Helmrich <3374563+develth@users.noreply.github.com> Date: Wed, 8 Mar 2023 16:53:58 +0100 Subject: [PATCH] fix: return type should be iterable ... to match for example CollectionProvideres return type on pagination --- src/State/ProviderInterface.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/State/ProviderInterface.php b/src/State/ProviderInterface.php index 8323433b074..d16bab9a209 100644 --- a/src/State/ProviderInterface.php +++ b/src/State/ProviderInterface.php @@ -29,5 +29,5 @@ interface ProviderInterface * * @return T|Pagination\PartialPaginatorInterface|iterable|null */ - public function provide(Operation $operation, array $uriVariables = [], array $context = []): object|array|null; + public function provide(Operation $operation, array $uriVariables = [], array $context = []): object|iterable|null; }