Skip to content

Commit

Permalink
magento/graphql-ce:#468 - Fix codestyle issue
Browse files Browse the repository at this point in the history
# Fixed issue "@throws annotation tags are added only when exception is thrown explicitly in the function"
  • Loading branch information
Vasilii committed Mar 21, 2019
1 parent b3280d0 commit 799f37e
Showing 1 changed file with 2 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,8 @@

use Magento\CustomerGraphQl\Model\Customer\Address\GetCustomerAddress;
use Magento\CustomerGraphQl\Model\Customer\GetCustomer;
use Magento\Framework\GraphQl\Exception\GraphQlAuthenticationException;
use Magento\Framework\GraphQl\Exception\GraphQlAuthorizationException;
use Magento\Framework\GraphQl\Exception\GraphQlInputException;
use Magento\Framework\GraphQl\Exception\GraphQlNoSuchEntityException;
use Magento\Quote\Model\Quote\Address;
use Magento\Framework\GraphQl\Query\Resolver\ContextInterface;
use Magento\Quote\Model\Quote\Address;

/**
* Creates a quote address based on given context, customer address ID and customer address
Expand Down Expand Up @@ -55,11 +51,8 @@ public function __construct(
* @param ContextInterface $context
* @param int|string|null $customerAddressId
* @param array|null $customerAddress
*
* @return Address
* @throws GraphQlAuthenticationException
* @throws GraphQlAuthorizationException
* @throws GraphQlInputException
* @throws GraphQlNoSuchEntityException
*/
public function execute(
ContextInterface $context,
Expand Down

0 comments on commit 799f37e

Please sign in to comment.