@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | * B) For an API token authentication system, you return a 401 response |
40 | 40 | * return new Response('Auth header required', 401); |
41 | 41 | * |
42 | - * @param Request $request The request that resulted in an AuthenticationException |
|
42 | + * @param SymfonyRequest $request The request that resulted in an AuthenticationException |
|
43 | 43 | * @param AuthenticationException $authException The exception that started the authentication process |
44 | 44 | * |
45 | 45 | * @return Response |
@@ -84,7 +84,7 @@ discard block |
||
84 | 84 | * |
85 | 85 | * return array('api_key' => $request->headers->get('X-API-TOKEN')); |
86 | 86 | * |
87 | - * @param Request $request |
|
87 | + * @param SymfonyRequest $request |
|
88 | 88 | * |
89 | 89 | * @throws \UnexpectedValueException If null is returned |
90 | 90 | * |
@@ -90,7 +90,7 @@ |
||
90 | 90 | * |
91 | 91 | * @throws InvalidArgumentException |
92 | 92 | * |
93 | - * @return object |
|
93 | + * @return Struct |
|
94 | 94 | */ |
95 | 95 | private function createInstance(string $class, array $arguments) |
96 | 96 | { |
@@ -121,6 +121,9 @@ |
||
121 | 121 | } |
122 | 122 | } |
123 | 123 | |
124 | + /** |
|
125 | + * @param CalculatedLineItemInterface $instance |
|
126 | + */ |
|
124 | 127 | private function getClassName($instance) |
125 | 128 | { |
126 | 129 | $name = get_class($instance); |
@@ -9,7 +9,6 @@ |
||
9 | 9 | use Shopware\Core\Checkout\Context\CheckoutContextService; |
10 | 10 | use Shopware\Core\Checkout\Payment\Exception\PaymentMethodNotFoundHttpException; |
11 | 11 | use Shopware\Core\Framework\Struct\Uuid; |
12 | -use Shopware\Storefront\Exception\CustomerNotFoundException; |
|
13 | 12 | use Shopware\Storefront\Page\Account\AccountService; |
14 | 13 | use Shopware\Storefront\Page\Account\AddressSaveRequest; |
15 | 14 | use Shopware\Storefront\Page\Account\CustomerAddressPageLoader; |
@@ -3,10 +3,10 @@ |
||
3 | 3 | namespace Shopware\Storefront\Controller; |
4 | 4 | |
5 | 5 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; |
6 | +use Shopware\Core\Checkout\CartBridge\Voucher\VoucherProcessor; |
|
6 | 7 | use Shopware\Core\Checkout\Cart\Exception\LineItemNotFoundException; |
7 | 8 | use Shopware\Core\Checkout\Cart\LineItem\LineItem; |
8 | 9 | use Shopware\Core\Checkout\Cart\Storefront\CartService; |
9 | -use Shopware\Core\Checkout\CartBridge\Voucher\VoucherProcessor; |
|
10 | 10 | use Shopware\Core\Checkout\CheckoutContext; |
11 | 11 | use Shopware\Core\Content\Product\Cart\ProductProcessor; |
12 | 12 | use Symfony\Component\HttpFoundation\AcceptHeader; |
@@ -36,6 +36,7 @@ |
||
36 | 36 | { |
37 | 37 | /** |
38 | 38 | * {@inheritdoc} |
39 | + * @param string $view |
|
39 | 40 | */ |
40 | 41 | protected function renderStorefront($view, array $parameters = [], Response $response = null): Response |
41 | 42 | { |
@@ -2,8 +2,8 @@ |
||
2 | 2 | |
3 | 3 | namespace Shopware\Storefront\Page\Account; |
4 | 4 | |
5 | -use Shopware\Core\Checkout\Context\CheckoutContextPersister; |
|
6 | 5 | use Shopware\Core\Checkout\CheckoutContext; |
6 | +use Shopware\Core\Checkout\Context\CheckoutContextPersister; |
|
7 | 7 | use Shopware\Core\Checkout\Customer\Aggregate\CustomerAddress\CustomerAddressRepository; |
8 | 8 | use Shopware\Core\Checkout\Customer\Aggregate\CustomerAddress\Struct\CustomerAddressBasicStruct; |
9 | 9 | use Shopware\Core\Checkout\Customer\CustomerRepository; |