Completed
Branch master (e076c0)
by Jan
10:45
created
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/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/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/Core/Framework/Api/Context/RestContextValueResolver.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,8 +9,8 @@
 block discarded – undo
9 9
 use Shopware\Core\PlatformRequest;
10 10
 use Shopware\Core\System\User\UserDefinition;
11 11
 use Symfony\Component\HttpFoundation\Request;
12
-use Symfony\Component\HttpKernel\Controller\ArgumentValueResolverInterface;
13 12
 use Symfony\Component\HttpKernel\ControllerMetadata\ArgumentMetadata;
13
+use Symfony\Component\HttpKernel\Controller\ArgumentValueResolverInterface;
14 14
 use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface;
15 15
 use Symfony\Component\Security\Core\User\UserInterface;
16 16
 
Please login to merge, or discard this patch.
src/Core/Framework/Api/Controller/ApiController.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,6 +11,7 @@  discard block
 block discarded – undo
11 11
 use Shopware\Core\Framework\ORM\Entity;
12 12
 use Shopware\Core\Framework\ORM\EntityDefinition;
13 13
 use Shopware\Core\Framework\ORM\Event\EntityWrittenContainerEvent;
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;
@@ -19,7 +20,6 @@  discard block
 block discarded – undo
19 20
 use Shopware\Core\Framework\ORM\Field\ReferenceVersionField;
20 21
 use Shopware\Core\Framework\ORM\Field\TenantIdField;
21 22
 use Shopware\Core\Framework\ORM\Field\VersionField;
22
-use Shopware\Core\Framework\ORM\FieldCollection;
23 23
 use Shopware\Core\Framework\ORM\Read\ReadCriteria;
24 24
 use Shopware\Core\Framework\ORM\RepositoryInterface;
25 25
 use Shopware\Core\Framework\ORM\Search\Criteria;
Please login to merge, or discard this patch.
src/Core/Framework/ORM/Dbal/EntityReader.php 2 patches
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -170,6 +170,9 @@  discard block
 block discarded – undo
170 170
         return $collection;
171 171
     }
172 172
 
173
+    /**
174
+     * @param ReadCriteria $criteria
175
+     */
173 176
     private function joinBasic(?Criteria $criteria, string $definition, Context $context, string $root, QueryBuilder $query, FieldCollection $fields, bool $raw = false): void
174 177
     {
175 178
         /** @var EntityDefinition $definition */
@@ -484,6 +487,9 @@  discard block
 block discarded – undo
484 487
         return false;
485 488
     }
486 489
 
490
+    /**
491
+     * @param EntityCollection $details
492
+     */
487 493
     private function removeInheritance(string $definition, $details): void
488 494
     {
489 495
         /** @var string|EntityDefinition $definition */
Please login to merge, or discard this patch.
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -7,6 +7,7 @@  discard block
 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\ChildrenAssociationField;
12 13
 use Shopware\Core\Framework\ORM\Field\Field;
@@ -14,12 +15,11 @@  discard block
 block discarded – undo
14 15
 use Shopware\Core\Framework\ORM\Field\ManyToOneAssociationField;
15 16
 use Shopware\Core\Framework\ORM\Field\OneToManyAssociationField;
16 17
 use Shopware\Core\Framework\ORM\Field\TranslatedField;
17
-use Shopware\Core\Framework\ORM\FieldCollection;
18 18
 use Shopware\Core\Framework\ORM\Read\EntityReaderInterface;
19 19
 use Shopware\Core\Framework\ORM\Read\ReadCriteria;
20 20
 use Shopware\Core\Framework\ORM\Search\Criteria;
21
-use Shopware\Core\Framework\ORM\Search\EntitySearcherInterface;
22 21
 use Shopware\Core\Framework\ORM\Search\EntitySearchResult;
22
+use Shopware\Core\Framework\ORM\Search\EntitySearcherInterface;
23 23
 use Shopware\Core\Framework\ORM\Search\Parser\SqlQueryParser;
24 24
 use Shopware\Core\Framework\ORM\Search\Query\TermsQuery;
25 25
 use Shopware\Core\Framework\ORM\Search\Sorting\FieldSorting;
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
@@ -13,13 +13,13 @@
 block discarded – undo
13 13
 use Shopware\Core\Framework\ORM\EntityDefinition;
14 14
 use Shopware\Core\Framework\ORM\Event\EntityWrittenContainerEvent;
15 15
 use Shopware\Core\Framework\ORM\Event\EntityWrittenEvent;
16
+use Shopware\Core\Framework\ORM\FieldCollection;
16 17
 use Shopware\Core\Framework\ORM\Field\AssociationInterface;
17 18
 use Shopware\Core\Framework\ORM\Field\Field;
18 19
 use Shopware\Core\Framework\ORM\Field\ManyToManyAssociationField;
19 20
 use Shopware\Core\Framework\ORM\Field\ManyToOneAssociationField;
20 21
 use Shopware\Core\Framework\ORM\Field\OneToManyAssociationField;
21 22
 use Shopware\Core\Framework\ORM\Field\TranslationsAssociationField;
22
-use Shopware\Core\Framework\ORM\FieldCollection;
23 23
 use Shopware\Core\Framework\ORM\Write\Flag\Inherited;
24 24
 use Shopware\Core\Framework\Struct\Uuid;
25 25
 use Symfony\Component\EventDispatcher\EventDispatcherInterface;
Please login to merge, or discard this patch.