Commit cbc39ac 1 parent 59a73a6 commit cbc39ac Copy full SHA for cbc39ac
File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 26
26
use Magento \InventoryInStorePickup \Model \GetPickupLocations ;
27
27
28
28
/**
29
- * Class SaveCartItem
29
+ * Class GetStores
30
30
* @package ScandiPWA\QuoteGraphQl\Model\Resolver
31
31
*/
32
32
class GetStores implements ResolverInterface
33
33
{
34
+ /**
35
+ * Config path to radius value (In magento original class it's private)
36
+ */
34
37
protected const SEARCH_RADIUS = 'carriers/instore/search_radius ' ;
35
38
36
39
/**
@@ -90,8 +93,7 @@ public function resolve(
90
93
ResolveInfo $ info ,
91
94
array $ value = null ,
92
95
array $ args = null
93
- )
94
- {
96
+ ) {
95
97
if (!isset ($ args ['search ' ]) || !isset ($ args ['country ' ])) {
96
98
throw new GraphQlInputException (
97
99
__ ('Required parameter "search" or "country" is missing. ' )
You can’t perform that action at this time.
0 commit comments