Completed
Branch master (eab695)
by Jan
33:07
created
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/EntityReader.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -541,6 +541,9 @@
 block discarded – undo
541 541
         return false;
542 542
     }
543 543
 
544
+    /**
545
+     * @param EntityCollection $details
546
+     */
544 547
     private function removeInheritance(string $definition, $details): void
545 548
     {
546 549
         /** @var string|EntityDefinition $definition */
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,13 +7,13 @@
 block discarded – undo
7 7
 use Shopware\Core\Framework\ORM\Entity;
8 8
 use Shopware\Core\Framework\ORM\EntityCollection;
9 9
 use Shopware\Core\Framework\ORM\EntityDefinition;
10
+use Shopware\Core\Framework\ORM\FieldCollection;
10 11
 use Shopware\Core\Framework\ORM\Field\AssociationInterface;
11 12
 use Shopware\Core\Framework\ORM\Field\Field;
12 13
 use Shopware\Core\Framework\ORM\Field\ManyToManyAssociationField;
13 14
 use Shopware\Core\Framework\ORM\Field\ManyToOneAssociationField;
14 15
 use Shopware\Core\Framework\ORM\Field\OneToManyAssociationField;
15 16
 use Shopware\Core\Framework\ORM\Field\TranslatedField;
16
-use Shopware\Core\Framework\ORM\FieldCollection;
17 17
 use Shopware\Core\Framework\ORM\Read\EntityReaderInterface;
18 18
 use Shopware\Core\Framework\ORM\Search\Criteria;
19 19
 use Shopware\Core\Framework\ORM\Search\EntitySearcherInterface;
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/Dbal/Indexing/InheritanceIndexer.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,13 +11,13 @@
 block discarded – undo
11 11
 use Shopware\Core\Framework\ORM\Dbal\EntityDefinitionQueryHelper;
12 12
 use Shopware\Core\Framework\ORM\DefinitionRegistry;
13 13
 use Shopware\Core\Framework\ORM\EntityDefinition;
14
+use Shopware\Core\Framework\ORM\FieldCollection;
14 15
 use Shopware\Core\Framework\ORM\Field\AssociationInterface;
15 16
 use Shopware\Core\Framework\ORM\Field\Field;
16 17
 use Shopware\Core\Framework\ORM\Field\ManyToManyAssociationField;
17 18
 use Shopware\Core\Framework\ORM\Field\ManyToOneAssociationField;
18 19
 use Shopware\Core\Framework\ORM\Field\OneToManyAssociationField;
19 20
 use Shopware\Core\Framework\ORM\Field\TranslationsAssociationField;
20
-use Shopware\Core\Framework\ORM\FieldCollection;
21 21
 use Shopware\Core\Framework\ORM\Write\Flag\Inherited;
22 22
 use Shopware\Core\Framework\ORM\Write\GenericWrittenEvent;
23 23
 use Shopware\Core\Framework\ORM\Write\WrittenEvent;
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.
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/Search/SearchResultTrait.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -50,6 +50,9 @@
 block discarded – undo
50 50
         return $this->idResult;
51 51
     }
52 52
 
53
+    /**
54
+     * @param AggregatorResult|null $aggregations
55
+     */
53 56
     public static function createFromResults(
54 57
         IdSearchResult $ids,
55 58
         EntityCollection $entities,
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/Plugin/PluginManager.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
     }
78 78
 
79 79
     /**
80
-     * @param Plugin|Struct\Plugin $plugin
80
+     * @param Struct\Plugin $plugin
81 81
      *
82 82
      * @return InstallContext
83 83
      */
@@ -231,7 +231,7 @@  discard block
 block discarded – undo
231 231
     }
232 232
 
233 233
     /**
234
-     * @param Plugin|Struct\Plugin $plugin
234
+     * @param Struct\Plugin $plugin
235 235
      *
236 236
      * @throws PluginNotActivatedException
237 237
      * @throws PluginNotInstalledException
Please login to merge, or discard this patch.