Completed
Branch master (886cf7)
by Jan
07:19
created
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/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/SubresourceField.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -41,6 +41,9 @@
 block discarded – undo
41 41
      */
42 42
     protected $possibleKey;
43 43
 
44
+    /**
45
+     * @param string $possibleKey
46
+     */
44 47
     public function __construct(string $propertyName, string $referenceClass, $possibleKey = null)
45 48
     {
46 49
         $this->referenceClass = $referenceClass;
Please login to merge, or discard this patch.
src/Core/Framework/ORM/Write/WriteCommandExtractor.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -210,7 +210,7 @@  discard block
 block discarded – undo
210 210
     }
211 211
 
212 212
     /**
213
-     * @param string|EntityDefinition $definition
213
+     * @param EntityDefinition $definition
214 214
      *
215 215
      * @return FieldCollection
216 216
      */
@@ -231,7 +231,7 @@  discard block
 block discarded – undo
231 231
 
232 232
     /**
233 233
      * @param array                   $rawData
234
-     * @param string|EntityDefinition $definition
234
+     * @param EntityDefinition $definition
235 235
      * @param FieldExceptionStack     $exceptionStack
236 236
      * @param FieldExtenderCollection $extender
237 237
      * @param FieldCollection         $fields
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,13 +25,13 @@
 block discarded – undo
25 25
 namespace Shopware\Core\Framework\ORM\Write;
26 26
 
27 27
 use Shopware\Core\Framework\ORM\EntityDefinition;
28
+use Shopware\Core\Framework\ORM\FieldCollection;
28 29
 use Shopware\Core\Framework\ORM\Field\ChildrenAssociationField;
29 30
 use Shopware\Core\Framework\ORM\Field\DateField;
30 31
 use Shopware\Core\Framework\ORM\Field\Field;
31 32
 use Shopware\Core\Framework\ORM\Field\FkField;
32 33
 use Shopware\Core\Framework\ORM\Field\ManyToOneAssociationField;
33 34
 use Shopware\Core\Framework\ORM\Field\ReferenceField;
34
-use Shopware\Core\Framework\ORM\FieldCollection;
35 35
 use Shopware\Core\Framework\ORM\Write\Command\InsertCommand;
36 36
 use Shopware\Core\Framework\ORM\Write\Command\UpdateCommand;
37 37
 use Shopware\Core\Framework\ORM\Write\Command\WriteCommandQueue;
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.