add space in if

added a space to keep it consistent with PSR-2.