Skip to content

Commit c0211f5

Browse files
authored
Merge pull request #42 from kodbruket/1.3.11
Fix issue with undefined property
2 parents 6c8f524 + 9fd479a commit c0211f5

3 files changed

Lines changed: 8 additions & 3 deletions

File tree

Model/Api/Customer.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
namespace Mondido\Mondido\Model\Api;
1515

1616
use Magento\Framework\UrlInterface;
17+
use Psr\Log\LoggerInterface;
1718

1819
/**
1920
* Mondido transaction API model
@@ -39,19 +40,23 @@ class Customer extends Mondido
3940
* @param \Mondido\Mondido\Model\Config $config Config object
4041
* @param \Magento\Store\Model\StoreManagerInterface $storeManager Store manager
4142
* @param \Magento\Framework\UrlInterface $urlBuilder URL builder
43+
* @param Psr\Log\LoggerInterface $logger Logger interface
4244
*
4345
* @return void
4446
*/
4547
public function __construct(
4648
\Magento\Framework\HTTP\Adapter\Curl $adapter,
4749
\Mondido\Mondido\Model\Config $config,
4850
\Magento\Store\Model\StoreManagerInterface $storeManager,
49-
UrlInterface $urlBuilder
51+
UrlInterface $urlBuilder,
52+
LoggerInterface $logger
5053
) {
5154
$this->_adapter = $adapter;
5255
$this->_config = $config;
5356
$this->_storeManager = $storeManager;
5457
$this->urlBuilder = $urlBuilder;
58+
$this->logger = $logger;
59+
5560
if (!defined('PHPUNIT_MONDIDO_TESTSUITE')) {
5661
$this->objectManager = \Magento\Framework\App\ObjectManager::getInstance();
5762
}

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "mondido/magento2-mondido",
33
"description": "Mondido payment module for Magento 2.",
4-
"version": "1.3.10",
4+
"version": "1.3.11",
55
"type": "magento2-module",
66
"repositories": [
77
{

etc/module.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0"?>
22
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
3-
<module name="Mondido_Mondido" setup_version="1.3.10">
3+
<module name="Mondido_Mondido" setup_version="1.3.11">
44
<sequence>
55
<module name="Magento_Checkout"/>
66
<module name="Magento_Payment"/>

0 commit comments

Comments
 (0)