Completed
Branch master (e076c0)
by Jan
10:45
created
src/Administration/Search/AdministrationSearch.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@
 block discarded – undo
125 125
      * @param SearchResultInterface[] $results
126 126
      * @param string                  $userId
127 127
      *
128
-     * @return array
128
+     * @return SearchResultInterface[]
129 129
      */
130 130
     private function applyAuditLog(array $results, string $userId, Context $context): array
131 131
     {
Please login to merge, or discard this patch.
src/Core/Checkout/Cart/Storefront/CartController.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -241,6 +241,9 @@
 block discarded – undo
241 241
         );
242 242
     }
243 243
 
244
+    /**
245
+     * @param string $token
246
+     */
244 247
     private function loadCart(?string $token, CheckoutContext $context): Cart
245 248
     {
246 249
         if (!$token) {
Please login to merge, or discard this patch.
src/Core/Checkout/Context/CheckoutRuleLoader.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -97,6 +97,9 @@
 block discarded – undo
97 97
         $this->storeFrontCartService = $storeFrontCartService;
98 98
     }
99 99
 
100
+    /**
101
+     * @param string $cartToken
102
+     */
100 103
     public function loadMatchingRules(CheckoutContext $context, ?string $cartToken)
101 104
     {
102 105
         $context = clone $context;
Please login to merge, or discard this patch.
src/Core/Content/Catalog/ORM/CatalogField.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,9 +32,9 @@
 block discarded – undo
32 32
 use Shopware\Core\Framework\ORM\Write\FieldException\InvalidFieldException;
33 33
 use Shopware\Core\Framework\ORM\Write\Flag\Required;
34 34
 use Shopware\Core\Framework\Struct\Uuid;
35
-use Symfony\Component\Validator\Constraints\Choice;
36 35
 use Symfony\Component\Validator\ConstraintViolation;
37 36
 use Symfony\Component\Validator\ConstraintViolationList;
37
+use Symfony\Component\Validator\Constraints\Choice;
38 38
 
39 39
 class CatalogField extends FkField
40 40
 {
Please login to merge, or discard this patch.
src/Core/Framework/Api/EventListener/ResponseExceptionListener.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,8 +5,8 @@
 block discarded – undo
5 5
 use Psr\Log\LoggerInterface;
6 6
 use Shopware\Core\Framework\Api\Response\ResponseFactory;
7 7
 use Shopware\Core\Framework\ShopwareException;
8
-use Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent;
9 8
 use Symfony\Component\HttpKernel\EventListener\ExceptionListener;
9
+use Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent;
10 10
 use Symfony\Component\HttpKernel\Exception\HttpException;
11 11
 use Symfony\Component\HttpKernel\KernelEvents;
12 12
 
Please login to merge, or discard this patch.
src/Core/Framework/ORM/Dbal/Common/IndexTableOperator.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -16,6 +16,9 @@
 block discarded – undo
16 16
         $this->connection = $connection;
17 17
     }
18 18
 
19
+    /**
20
+     * @param \DateTime $timestamp
21
+     */
19 22
     public function getIndexName(string $table, ?\DateTime $timestamp): string
20 23
     {
21 24
         if ($timestamp === null) {
Please login to merge, or discard this patch.
src/Core/Framework/ORM/Dbal/EntityForeignKeyResolver.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,11 +6,11 @@
 block discarded – undo
6 6
 use Shopware\Core\Defaults;
7 7
 use Shopware\Core\Framework\Context;
8 8
 use Shopware\Core\Framework\ORM\EntityDefinition;
9
+use Shopware\Core\Framework\ORM\FieldCollection;
9 10
 use Shopware\Core\Framework\ORM\Field\AssociationInterface;
10 11
 use Shopware\Core\Framework\ORM\Field\ManyToManyAssociationField;
11 12
 use Shopware\Core\Framework\ORM\Field\ManyToOneAssociationField;
12 13
 use Shopware\Core\Framework\ORM\Field\OneToManyAssociationField;
13
-use Shopware\Core\Framework\ORM\FieldCollection;
14 14
 use Shopware\Core\Framework\ORM\Write\Flag\CascadeDelete;
15 15
 use Shopware\Core\Framework\ORM\Write\Flag\RestrictDelete;
16 16
 use Shopware\Core\Framework\Struct\Uuid;
Please login to merge, or discard this patch.
src/Core/Framework/ORM/Dbal/EntityWriteGateway.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -143,7 +143,7 @@
 block discarded – undo
143 143
     }
144 144
 
145 145
     /**
146
-     * @param string|EntityDefinition $definition
146
+     * @param string $definition
147 147
      * @param array                   $primaryKey
148 148
      * @param WriteCommandQueue       $commandQueue
149 149
      *
Please login to merge, or discard this patch.
src/Core/Framework/ORM/Field/ReferenceVersionField.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -39,6 +39,9 @@
 block discarded – undo
39 39
      */
40 40
     private $versionReference;
41 41
 
42
+    /**
43
+     * @param string $storageName
44
+     */
42 45
     public function __construct(string $definition, ?string $storageName = null)
43 46
     {
44 47
         /** @var string|EntityDefinition $definition */
Please login to merge, or discard this patch.