Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Use strict comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
core23 committed Feb 25, 2017
1 parent 6ebe68b commit 747c527
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Controller/AuthController.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public function errorAction(): Response
return $this->redirectToRoute('core23_facebook_success');
}

if (null != $this->getParameter('core23.facebook.auth_error.redirect_route')) {
if (null !== $this->getParameter('core23.facebook.auth_error.redirect_route')) {
return $this->redirectToRoute($this->getParameter('core23.facebook.auth_error.redirect_route'), $this->getParameter('core23.facebook.auth_error.redirect_route_params'));
}

Expand All @@ -92,7 +92,7 @@ public function successAction(): Response
return $this->redirectToRoute('core23_facebook_error');
}

if (null != $this->getParameter('core23.facebook.auth_success.redirect_route')) {
if (null !== $this->getParameter('core23.facebook.auth_success.redirect_route')) {
return $this->redirectToRoute($this->getParameter('core23.facebook.auth_success.redirect_route'), $this->getParameter('core23.facebook.auth_success.redirect_route_params'));
}

Expand Down

0 comments on commit 747c527

Please sign in to comment.