Skip to content

Commit

Permalink
MAGETWO-89045: FATAL error on compiler generation on PHP 7.0.11
Browse files Browse the repository at this point in the history
- Add full namespace
  • Loading branch information
viktym committed Mar 12, 2018
1 parent e314678 commit a7d4180
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions app/code/Magento/Payment/Model/Method/Logger.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
*/
namespace Magento\Payment\Model\Method;

use Magento\Payment\Gateway\ConfigInterface;
use Psr\Log\LoggerInterface;

/**
Expand All @@ -24,17 +23,17 @@ class Logger
protected $logger;

/**
* @var ConfigInterface
* @var \Magento\Payment\Gateway\ConfigInterface
*/
private $config;

/**
* @param LoggerInterface $logger
* @param ConfigInterface $config
* @param \Magento\Payment\Gateway\ConfigInterface $config
*/
public function __construct(
LoggerInterface $logger,
ConfigInterface $config = null
\Magento\Payment\Gateway\ConfigInterface $config = null
) {
$this->logger = $logger;
$this->config = $config;
Expand Down

0 comments on commit a7d4180

Please sign in to comment.