Skip to content

Commit 30ff199

Browse files
Merge pull request #2933 from coreshop/coding-standard/refactor-
[CS] Refactor
2 parents ca166ae + ed75259 commit 30ff199

File tree

4 files changed

+16
-1
lines changed

4 files changed

+16
-1
lines changed

src/CoreShop/Bundle/MessengerBundle/Event/FailedMessageDetailsEvent.php

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,20 @@
11
<?php
2+
23
declare(strict_types=1);
34

5+
/*
6+
* CoreShop
7+
*
8+
* This source file is available under the terms of the
9+
* CoreShop Commercial License (CCL)
10+
* Full copyright and license information is available in
11+
* LICENSE.md which is distributed with this source code.
12+
*
13+
* @copyright Copyright (c) CoreShop GmbH (https://www.coreshop.com)
14+
* @license CoreShop Commercial License (CCL)
15+
*
16+
*/
17+
418
namespace CoreShop\Bundle\MessengerBundle\Event;
519

620
use CoreShop\Bundle\MessengerBundle\Messenger\FailedMessageDetails;

src/CoreShop/Bundle/PayumBundle/Extension/UpdatePaymentStateExtension.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ public function onPostExecute(Context $context): void
5151
$previousStack = $context->getPrevious();
5252
/**
5353
* @var int<0, max> $previousStackSize
54+
*
5455
* @psalm-type int
5556
*/
5657
$previousStackSize = count($previousStack);

src/CoreShop/Component/Core/Cart/Rule/Action/GiftProductActionProcessor.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717

1818
namespace CoreShop\Component\Core\Cart\Rule\Action;
1919

20-
use CoreShop\Bundle\ResourceBundle\Pimcore\Repository\StackRepositoryInterface;
2120
use CoreShop\Component\Core\Model\ProductInterface;
2221
use CoreShop\Component\Order\Cart\Rule\Action\CartPriceRuleActionProcessorInterface;
2322
use CoreShop\Component\Order\Factory\AdjustmentFactoryInterface;

src/CoreShop/Component/Order/Model/ProposalPriceRuleTrait.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ public function hasPriceRules(): bool
4242

4343
/**
4444
* @psalm-suppress InvalidReturnType
45+
*
4546
* @return PriceRuleItemInterface[]
4647
*/
4748
public function getPriceRules(): array

0 commit comments

Comments
 (0)