Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor de la validation \DateInterval #1308

Merged
merged 1 commit into from
Jul 2, 2023

Conversation

Mopolo
Copy link
Contributor

@Mopolo Mopolo commented Jun 24, 2023

La condition isset($interval) ne peut jamais être false car avec un $delay invalide, le new \DateInterval lance une exception qui arrête l'exécution avant le if.

https://3v4l.org/WvQe8#v5.6.40

La condition `isset($interval)` ne peut jamais être `false` car avec un
`$delay` invalide, le `new \DateInterval` lance une exception qui arrête
l'exécution avant le `if`.
@Mopolo Mopolo force-pushed the refactor-date-interval-var-isset branch from 21c6e41 to 2a1eb9a Compare June 30, 2023 15:51
@agallou agallou merged commit 4289b4f into afup:master Jul 2, 2023
4 checks passed
@Mopolo Mopolo deleted the refactor-date-interval-var-isset branch July 2, 2023 18:44
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