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

Commit

Permalink
removed unused assignments in conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
Malte Gerth committed Jun 30, 2014
1 parent cfea48b commit 70b4d77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ZfcRbac/View/Strategy/UnauthorizedStrategy.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public function __construct(UnauthorizedStrategyOptions $options)
public function onError(MvcEvent $event)
{
// Do nothing if no error or if response is not HTTP response
if (!($exception = $event->getParam('exception') instanceof UnauthorizedExceptionInterface)
if (!($event->getParam('exception') instanceof UnauthorizedExceptionInterface)
|| ($event->getResult() instanceof HttpResponse)
|| !($event->getResponse() instanceof HttpResponse)
) {
Expand Down

0 comments on commit 70b4d77

Please sign in to comment.