You can remove the `$sql = '';` declaration by returning early