Skip to content

Commit

Permalink
MAGETWO-67440: Changed constructor to use an interface #6772
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleksii Korshenko authored Apr 12, 2017
2 parents fd6f3a0 + 75adba0 commit 1a5f053
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/internal/Magento/Framework/App/FrontController.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@ class FrontController implements FrontControllerInterface
protected $_routerList;

/**
* @var \Magento\Framework\App\Response\Http
* @var \Magento\Framework\App\ResponseInterface
*/
protected $response;

/**
* @param RouterList $routerList
* @param \Magento\Framework\App\Response\Http $response
* @param RouterListInterface $routerList
* @param \Magento\Framework\App\ResponseInterface $response
*/
public function __construct(
RouterListInterface $routerList,
\Magento\Framework\App\Response\Http $response
\Magento\Framework\App\ResponseInterface $response
) {
$this->_routerList = $routerList;
$this->response = $response;
Expand Down

0 comments on commit 1a5f053

Please sign in to comment.