Completed
Branch master (eab695)
by Jan
33:07
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/ApiDefinition/Generator/OpenApi3Generator.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -412,7 +412,7 @@  discard block
 block discarded – undo
412 412
 
413 413
     /**
414 414
      * @param array                   $openapi
415
-     * @param string|EntityDefinition $definition
415
+     * @param EntityDefinition $definition
416 416
      *
417 417
      * @return array
418 418
      */
@@ -529,7 +529,7 @@  discard block
 block discarded – undo
529 529
 
530 530
     /**
531 531
      * @param array                   $openapi
532
-     * @param string|EntityDefinition $definition
532
+     * @param EntityDefinition $definition
533 533
      *
534 534
      * @return array
535 535
      */
@@ -779,7 +779,7 @@  discard block
 block discarded – undo
779 779
     }
780 780
 
781 781
     /**
782
-     * @param $schemaName
782
+     * @param string $schemaName
783 783
      *
784 784
      * @return array
785 785
      */
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
@@ -10,6 +10,7 @@  discard block
 block discarded – undo
10 10
 use Shopware\Core\Framework\ORM\DefinitionRegistry;
11 11
 use Shopware\Core\Framework\ORM\Entity;
12 12
 use Shopware\Core\Framework\ORM\EntityDefinition;
13
+use Shopware\Core\Framework\ORM\FieldCollection;
13 14
 use Shopware\Core\Framework\ORM\Field\AssociationInterface;
14 15
 use Shopware\Core\Framework\ORM\Field\Field;
15 16
 use Shopware\Core\Framework\ORM\Field\ManyToManyAssociationField;
@@ -18,7 +19,6 @@  discard block
 block discarded – undo
18 19
 use Shopware\Core\Framework\ORM\Field\ReferenceVersionField;
19 20
 use Shopware\Core\Framework\ORM\Field\TenantIdField;
20 21
 use Shopware\Core\Framework\ORM\Field\VersionField;
21
-use Shopware\Core\Framework\ORM\FieldCollection;
22 22
 use Shopware\Core\Framework\ORM\RepositoryInterface;
23 23
 use Shopware\Core\Framework\ORM\Search\Criteria;
24 24
 use Shopware\Core\Framework\ORM\Search\Query\TermQuery;
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/Api/Firewall/User.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
      * and populated in any number of different ways when the user object
60 60
      * is created.
61 61
      *
62
-     * @return (Role|string)[] The user roles
62
+     * @return string[] The user roles
63 63
      */
64 64
     public function getRoles()
65 65
     {
Please login to merge, or discard this patch.
src/Core/Framework/Command/DemodataCommand.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@  discard block
 block discarded – undo
3 3
 namespace Shopware\Core\Framework\Command;
4 4
 
5 5
 use Bezhanov\Faker\Provider\Commerce;
6
-use bheller\ImagesGenerator\ImagesGeneratorProvider;
7 6
 use Faker\Factory;
8 7
 use Faker\Generator;
9 8
 use League\Flysystem\FilesystemInterface;
@@ -37,6 +36,7 @@  discard block
 block discarded – undo
37 36
 use Symfony\Component\Console\Style\SymfonyStyle;
38 37
 use Symfony\Component\DependencyInjection\ContainerInterface;
39 38
 use Symfony\Component\Finder\Finder;
39
+use bheller\ImagesGenerator\ImagesGeneratorProvider;
40 40
 
41 41
 class DemodataCommand extends ContainerAwareCommand
42 42
 {
Please login to merge, or discard this patch.