Completed
Branch master (eab695)
by Jan
33:07
created
src/Core/Framework/Routing/Firewall/TouchpointAuthenticator.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
      *
Please login to merge, or discard this patch.
src/Core/Framework/Struct/Serializer/StructNormalizer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/Core/Profiling/Cart/ProcessorTracer.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -121,6 +121,9 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
src/Storefront/Controller/AccountController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/Storefront/Controller/CartController.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,10 +3,10 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/Storefront/Controller/StorefrontController.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -36,6 +36,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/Storefront/Page/Account/AccountService.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.