Refactoring #1: Using ternary and null coalescing operators in PHP
Take a look at this little method below. Three issues come to mind the first time you see it....
Tags: laravel, refactoring, php, webdev