Fix if condition follow psr