Skip to content

Commit

Permalink
Store pickup orders race condition: reserve source items QTY #2032.
Browse files Browse the repository at this point in the history
Renamed: $sourceCode => $pickupLocationCode
  • Loading branch information
novikor committed May 18, 2019
1 parent 632c56e commit 7095616
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,16 @@ public function __construct(
}

/**
* @param string $sourceCode
* @param string $pickupLocationCode
*
* @return OrderSearchResultInterface
*/
public function execute(string $sourceCode): OrderSearchResultInterface
public function execute(string $pickupLocationCode): OrderSearchResultInterface
{
$searchCriteria = $this->searchCriteriaBuilder
->addFilter(
self::PICKUP_LOCATION_CODE,
$sourceCode
$pickupLocationCode
)
->addFilter(
OrderInterface::STATE,
Expand Down

0 comments on commit 7095616

Please sign in to comment.