Skip to content

Commit cbc39ac

Browse files
committed
Self-CR fixes
1 parent 59a73a6 commit cbc39ac

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/Model/Resolver/GetStores.php

+5-3
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,14 @@
2626
use Magento\InventoryInStorePickup\Model\GetPickupLocations;
2727

2828
/**
29-
* Class SaveCartItem
29+
* Class GetStores
3030
* @package ScandiPWA\QuoteGraphQl\Model\Resolver
3131
*/
3232
class GetStores implements ResolverInterface
3333
{
34+
/**
35+
* Config path to radius value (In magento original class it's private)
36+
*/
3437
protected const SEARCH_RADIUS = 'carriers/instore/search_radius';
3538

3639
/**
@@ -90,8 +93,7 @@ public function resolve(
9093
ResolveInfo $info,
9194
array $value = null,
9295
array $args = null
93-
)
94-
{
96+
) {
9597
if (!isset($args['search']) || !isset($args['country'])) {
9698
throw new GraphQlInputException(
9799
__('Required parameter "search" or "country" is missing.')

0 commit comments

Comments
 (0)