Skip to content

Commit

Permalink
Strict type comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
core23 committed Feb 15, 2017
1 parent 9f84da8 commit 6a54402
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 @@ -62,7 +62,7 @@ public function errorAction(): Response
return $this->redirectToRoute('core23_lastfm_success');
}

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

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

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

Expand Down

0 comments on commit 6a54402

Please sign in to comment.