Skip to content

Conversation

nikophil
Copy link
Contributor

Q A
Branch? 3.1
License MIT

@soyuka
Copy link
Member

soyuka commented Mar 13, 2023

needs php-cs-fixer

@nikophil nikophil force-pushed the fix/avoid-enum-reflection branch from ac22aec to df35718 Compare March 13, 2023 14:24
@nikophil
Copy link
Contributor Author

linting ok ✔️

just FYI, here are the prototypes of try() and tryFrom() in php doc

public static [from](https://www.php.net/manual/fr/backedenum.from.php)(int|string $value): static
public static [tryFrom](https://www.php.net/manual/fr/backedenum.tryfrom.php)(int|string $value): ?static

@soyuka soyuka merged commit a5aa529 into api-platform:3.1 Mar 13, 2023
soyuka pushed a commit to soyuka/core that referenced this pull request Mar 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants