Skip to content

Commit

Permalink
Merge pull request #13 from jlnarvaez/patch-1
Browse files Browse the repository at this point in the history
Declare dynamically created properties.
  • Loading branch information
m1k3lm authored Mar 15, 2024
2 parents 24a0232 + 84e1784 commit 2d543d5
Show file tree
Hide file tree
Showing 8 changed files with 37 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Gateway/Http/Client/OrderUpdateTransaction.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ class OrderUpdateTransaction implements ClientInterface
*/
private $transformService;

/**
* @var OrderService
*/
private $orderService;

/**
* @param SeQuraTranslationProvider $translationProvider
* @param TransformEntityService $transformService
Expand Down
4 changes: 4 additions & 0 deletions Model/Api/SequraPaymentMethodsService.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
*/
class SequraPaymentMethodsService implements SequraPaymentMethodsInterface
{
/**
* @var FormValidationSequraPaymentMethodsService
*/
private $paymentMethodsService;

/**
* SequraPaymentMethodsService constructor.
Expand Down
4 changes: 4 additions & 0 deletions Model/Ui/ConfigProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ class ConfigProvider implements ConfigProviderInterface
* @var UrlInterface
*/
private $urlBuilder;
/**
* @var \NumberFormatter
*/
private $formatter;

public function __construct(
\Magento\Framework\App\ScopeResolverInterface $scopeResolver,
Expand Down
5 changes: 5 additions & 0 deletions Observer/OrderAddressObserver.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ class OrderAddressObserver implements ObserverInterface
*/
private $transformService;

/**
* @var OrderService
*/
private $orderService;

/**
* @param SeQuraTranslationProvider $translationProvider
* @param TransformEntityService $transformService
Expand Down
5 changes: 5 additions & 0 deletions Observer/OrderCancellationObserver.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ class OrderCancellationObserver implements ObserverInterface
*/
private $translationProvider;

/**
* @var OrderService
*/
private $orderService;

/**
* @param SeQuraTranslationProvider $translationProvider
*/
Expand Down
5 changes: 5 additions & 0 deletions Observer/OrderShipmentObserver.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ class OrderShipmentObserver implements ObserverInterface
*/
private $transformService;

/**
* @var OrderService
*/
private $orderService;

/**
* @param SeQuraTranslationProvider $translationProvider
* @param TransformEntityService $transformService
Expand Down
5 changes: 5 additions & 0 deletions Plugin/OrderDetails.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ class OrderDetails
*/
protected $translation;

/**
* @var OrderService
*/
private $orderService;

private const statusMap = [
OrderRequestStates::CONFIRMED => 'sequra.status.paid',
OrderRequestStates::ON_HOLD => 'sequra.status.pendingReview',
Expand Down
4 changes: 4 additions & 0 deletions Services/BusinessLogic/OrderService.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ class OrderService implements ShopOrderService
* @var SeQuraTranslationProvider
*/
private $translationProvider;
/**
* @var SeQuraOrderService
*/
private $sequraOrderService;

public function __construct(
SearchCriteriaBuilder $searchOrderCriteriaBuilder,
Expand Down

0 comments on commit 2d543d5

Please sign in to comment.