Skip to content

Commit 54d9d67

Browse files
committed
magento/graphql-ce#892: [Checkout] Improve strict typing in CartAddressInterface
1 parent 78015e0 commit 54d9d67

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

app/code/Magento/QuoteGraphQl/Model/Cart/ValidateAddressFromSchema.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ public function __construct(
2828
$this->typeRegistry = $typeRegistry;
2929
}
3030

31-
3231
/**
3332
* Validate data from address against mandatory fields from graphql schema for address
3433
*

app/code/Magento/QuoteGraphQl/Model/Resolver/BillingAddress.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,7 @@ class BillingAddress implements ResolverInterface
3737
public function __construct(
3838
ExtractQuoteAddressData $extractQuoteAddressData,
3939
ValidateAddressFromSchema $validateAddressFromSchema
40-
)
41-
{
40+
) {
4241
$this->extractQuoteAddressData = $extractQuoteAddressData;
4342
$this->validateAddressFromSchema = $validateAddressFromSchema;
4443
}

app/code/Magento/QuoteGraphQl/Model/Resolver/ShippingAddresses.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,12 @@ class ShippingAddresses implements ResolverInterface
3232

3333
/**
3434
* @param ExtractQuoteAddressData $extractQuoteAddressData
35-
* @param ValidateAddressFromSchema
35+
* @param ValidateAddressFromSchema $validateAddressFromSchema
3636
*/
3737
public function __construct(
3838
ExtractQuoteAddressData $extractQuoteAddressData,
3939
ValidateAddressFromSchema $validateAddressFromSchema
40-
)
41-
{
40+
) {
4241
$this->extractQuoteAddressData = $extractQuoteAddressData;
4342
$this->validateAddressFromSchema = $validateAddressFromSchema;
4443
}

0 commit comments

Comments
 (0)