DEV Community

Discussion on: # 5 Tips for better code readability

Collapse
 
serranoz profile image
serranoz

In the number 4 you can just return the conditional:

return $customer->hasId()

right?