Posted via @Jetbrains: what you think about this @php code?…
Commit
8d93c28
Why? The nested ternaries and the combined concerns are the worst of it but using PHP language features combined to make them less explicit is bad too. this could easily be broken into separate steps or even named private functions for clarity
commit 8d93c28