From d6ab979dc928bf0baf5afb5e923e9d2700da93d2 Mon Sep 17 00:00:00 2001 From: Tom H Anderson Date: Wed, 19 Jan 2022 16:19:20 -0700 Subject: [PATCH] Fix order of return types in contract --- src/Contracts/HydratorManagerContract.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Contracts/HydratorManagerContract.php b/src/Contracts/HydratorManagerContract.php index 21f6d53..2321eee 100644 --- a/src/Contracts/HydratorManagerContract.php +++ b/src/Contracts/HydratorManagerContract.php @@ -12,7 +12,7 @@ interface HydratorManagerContract /** @param mixed $value */ public function canExtract($value): bool; - public function extract(mixed $class, ?string $overrideHydrator = null): Resource|Collection; + public function extract(mixed $class, ?string $overrideHydrator = null): Collection|Resource; /** * @param mixed[]|null $state