Skip to content

Commit ac921c7

Browse files
Update ServiceInputProcessor.php
Enable WebAPI interface to handle parameters through constructor #14801 - New optional param should be last in the params list.
1 parent 089e77a commit ac921c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/internal/Magento/Framework/Webapi/ServiceInputProcessor.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ public function __construct(
8989
AttributeValueFactory $attributeValueFactory,
9090
CustomAttributeTypeLocatorInterface $customAttributeTypeLocator,
9191
MethodsMap $methodsMap,
92-
ConfigInterface $config = null,
93-
ServiceTypeToEntityTypeMap $serviceTypeToEntityTypeMap = null
92+
ServiceTypeToEntityTypeMap $serviceTypeToEntityTypeMap = null,
93+
ConfigInterface $config = null
9494
) {
9595
$this->typeProcessor = $typeProcessor;
9696
$this->objectManager = $objectManager;

0 commit comments

Comments
 (0)