This code will always return null.

The return statement is outside of the if statement.