IMO you should do:
```php
return null;
```
After that `if` just to have all things clear, and not guess.