From bf05c9af59e700b6a93b580d3cb54f4b4ba787ae Mon Sep 17 00:00:00 2001 From: indykoning <15870933+indykoning@users.noreply.github.com> Date: Wed, 8 Jan 2025 11:29:50 +0100 Subject: [PATCH] Fixed optional parameter order --- Model/SalesOrder.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Model/SalesOrder.php b/Model/SalesOrder.php index f173b4a..bf13ecf 100644 --- a/Model/SalesOrder.php +++ b/Model/SalesOrder.php @@ -24,13 +24,13 @@ class SalesOrder extends AbstractModel public function __construct( Context $context, Registry $registry, - SalesOrderResource $resource = null, - AbstractDb $resourceCollection = null, protected readonly ModuleConfiguration $moduleConfiguration, protected readonly CollectionFactory $elgentosSalesOrderCollectionFactory, protected readonly SalesOrderRepository $elgentosSalesOrderRepository, protected readonly CookieManagerInterface $cookieManager, protected readonly GAClient $gaclient, + SalesOrderResource $resource = null, + AbstractDb $resourceCollection = null, array $data = [] ) { parent::__construct($context, $registry, $resource, $resourceCollection, $data);