Skip to content

Commit

Permalink
#19359: Fixed static tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sivaschenko authored and mage2pratik committed Feb 20, 2019
1 parent f5df1a8 commit 737a79e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
use Magento\Framework\Stdlib\Cookie\CookieMetadataFactory;
use Magento\Framework\Stdlib\Cookie\PhpCookieManager;

/**
* Class SessionChecker
*/
class SessionChecker
{
/**
Expand Down Expand Up @@ -38,6 +41,8 @@ public function __construct(
*
* @param SessionManagerInterface $sessionManager
* @return void
* @throws \Magento\Framework\Exception\InputException
* @throws \Magento\Framework\Stdlib\Cookie\FailureToSendException
*/
public function beforeStart(SessionManagerInterface $sessionManager)
{
Expand All @@ -49,4 +54,4 @@ public function beforeStart(SessionManagerInterface $sessionManager)
$this->cookieManager->deleteCookie('mage-cache-sessid', $metadata);
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class RequestSecureToken extends \Magento\Framework\App\Action\Action
* @param SecureToken $secureTokenService
* @param SessionManager $sessionManager
* @param Transparent $transparent
* @param SessionManagerInterface|null $sessionManagerInterface
* @param SessionManagerInterface|null $sessionInterface
*/
public function __construct(
Context $context,
Expand Down Expand Up @@ -123,4 +123,4 @@ private function getErrorResponse()
]
);
}
}
}
2 changes: 2 additions & 0 deletions lib/internal/Magento/Framework/View/Context.php
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,8 @@ public function getModuleName()
}

/**
* Get Front Name
*
* @see getModuleName
*/
public function getFrontName()
Expand Down

0 comments on commit 737a79e

Please sign in to comment.