Skip to content

Commit 1ee1d1e

Browse files
committed
Set hydrate return type to void instead of null
1 parent e30729a commit 1ee1d1e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Hydrator/Strategy/NullifyOwningAssociation.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,7 @@ public function extract(mixed $value, object|null $object = null): mixed
4343
*
4444
* @codeCoverageIgnore
4545
*/
46-
public function hydrate(mixed $value, array|null $data): null
46+
public function hydrate(mixed $value, array|null $data): void
4747
{
48-
return null;
4948
}
5049
}

0 commit comments

Comments
 (0)