Should be: `if (null === $redirectUrl) {`