Skip to content

Commit

Permalink
Fix order of return types in contract
Browse files Browse the repository at this point in the history
  • Loading branch information
TomHAnderson committed Jan 19, 2022
1 parent 30086ee commit d6ab979
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Contracts/HydratorManagerContract.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d6ab979

Please sign in to comment.