Mohamed Said has a great post on his blog here which explains the new when(); method available on the Laravel Query Builder. You should check it out if you want to re-factor and make your methods cleaner.

Cleaner, more readable code is something we should always try to maintain, with these little gems Laravel provides that task is so much simpler.