scheb / two-factor-bundle

[ABANDONED] Two-factor authentication for Symfony 2 & 3 applications 🔐. Please use the newer versions from https://github.com/scheb/2fa.
https://github.com/scheb/2fa
MIT License
385 stars 111 forks source link

Use null coalescing operator instead of ternary if #269

Closed jdreesen closed 4 years ago

jdreesen commented 4 years ago

Improves the changes of #268 a bit.

Spomky commented 4 years ago

I don't know for what reason, but I had in mind it was introduced in php 7.2...

bytehead commented 4 years ago

@Spomky I had to look at php.net as well 🙃

scheb commented 4 years ago

Thanks!