Follow

Something tells me this project never had a code review practice.

Before:
```
do($thing);
```

After:
```
if (! empty($thing)) {
do($thing);
} else {
do($thing);
}
```

I can't even suss out the intentions of this change. It is literally the same function call with the same parameter down either path of a newly introduced if / else.

y tho dot jpg

· · Web · 0 · 0 · 0
Sign in to participate in the conversation
Mastodon

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!