Skip to content

Commit bff7a39

Browse files
MC-31878: [Magento Cloud] - Order bulk update using rest api
1 parent f8e5bf0 commit bff7a39

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

app/code/Magento/AsynchronousOperations/Model/OperationRepositoryInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ interface OperationRepositoryInterface
2424
* '<arg2-name>' => '<arg2-value>',
2525
* )
2626
* @param string $groupId
27-
* @param int|null $operationId
27+
* @param int $operationId
2828
* @return OperationInterface
2929
*/
30-
public function create($topicName, $entityParams, $groupId, $operationId = null): OperationInterface;
30+
public function create($topicName, $entityParams, $groupId, $operationId): OperationInterface;
3131
}

app/code/Magento/AsynchronousOperations/Model/ResourceModel/Operation/OperationRepository.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public function createByTopic($topicName, $entityParams, $groupId)
104104
/**
105105
* @inheritDoc
106106
*/
107-
public function create($topicName, $entityParams, $groupId, $operationId = null): OperationInterface
107+
public function create($topicName, $entityParams, $groupId, $operationId): OperationInterface
108108
{
109109
return $this->createByTopic($topicName, $entityParams, $groupId);
110110
}

app/code/Magento/WebapiAsync/Model/OperationRepository.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public function __construct(
7070
/**
7171
* @inheritDoc
7272
*/
73-
public function create($topicName, $entityParams, $groupId, $operationId = null): OperationInterface
73+
public function create($topicName, $entityParams, $groupId, $operationId): OperationInterface
7474
{
7575
$this->messageValidator->validate($topicName, $entityParams);
7676
$requestData = $this->inputParamsResolver->getInputData();

0 commit comments

Comments
 (0)