Skip to content

Commit 7005ce8

Browse files
committed
Add object name in wrappers constructor
1 parent 44d55e7 commit 7005ce8

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

classes/Wrapper/OrderWrapper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class OrderWrapper implements WrapperInterface
2626
{
2727
private $context;
2828

29-
public function __construct($context)
29+
public function __construct(\Context $context)
3030
{
3131
$this->context = $context;
3232
}

classes/Wrapper/ProductWrapper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class ProductWrapper implements WrapperInterface
2626
{
2727
private $context;
2828

29-
public function __construct($context)
29+
public function __construct(\Context $context)
3030
{
3131
$this->context = $context;
3232
}

0 commit comments

Comments
 (0)