Skip to content

Commit c3d2dac

Browse files
committed
MC-20636: Order Details : Order Details by Order Number
- fix static
1 parent 9a2fc6a commit c3d2dac

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

app/code/Magento/SalesGraphQl/Model/Resolver/CustomerOrders.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,8 @@ public function resolve(
102102
* @param OrderInterface[] $orderModels
103103
* @return array
104104
*/
105-
private function formatOrdersArray(array $orderModels) {
105+
private function formatOrdersArray(array $orderModels)
106+
{
106107
$ordersArray = [];
107108
foreach ($orderModels as $orderModel) {
108109
$ordersArray[] = [
@@ -130,7 +131,8 @@ private function formatOrdersArray(array $orderModels) {
130131
* @return \Magento\Sales\Api\Data\OrderSearchResultInterface
131132
* @throws InputException
132133
*/
133-
private function getSearchResult(array $args, int $userId, int $storeId) {
134+
private function getSearchResult(array $args, int $userId, int $storeId)
135+
{
134136
$filterGroups = $this->orderFilter->createFilterGroups($args, $userId, (int)$storeId);
135137
$this->searchCriteriaBuilder->setFilterGroups($filterGroups);
136138
if (isset($args['currentPage'])) {

0 commit comments

Comments
 (0)