-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: signature of Map attributes
transformer
property (#199)
According to the `PropertyTransformerInterface`, the signature of a transformer should be: ```php /** * @param mixed $value the value of the property to transform, can be null if there is no way to read the data from the mapping * @param object|array<string, mixed> $source the source input on which the custom transformation applies * @param array<string, mixed> $context Context during mapping */ public function transform(mixed $value, object|array $source, array $context): mixed; ```
- Loading branch information
Showing
2 changed files
with
16 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters