-
-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
The current definition has a variable named "hydrator":
interface PropertyCaster
{
public function cast(mixed $value, ObjectMapper $hydrator): mixed;
}It used to be that ObjectMapper was called ObjectHydrator, which is likely why this variable has the name it does. Changing this will require a major release, but I think it should be:
interface PropertyCaster
{
public function cast(mixed $value, ObjectMapper $mapper): mixed;
}My editor would really like this, because it doesn't think "hydrator" is a word. And of course, it would make the signature more consistent.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels