Skip to content

Commit

Permalink
ENGCOM-3264: Remove unnecessary conditional statements #18792
Browse files Browse the repository at this point in the history
  • Loading branch information
Stanislav Idolov authored Oct 26, 2018
2 parents a5d9ccc + 101b340 commit fce8182
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,8 @@ private function getSecurityCookie()
{
if (!($this->securityCookie instanceof SecurityCookie)) {
return \Magento\Framework\App\ObjectManager::getInstance()->get(SecurityCookie::class);
} else {
return $this->securityCookie;
}
return $this->securityCookie;
}

/**
Expand Down

0 comments on commit fce8182

Please sign in to comment.