Skip to content

Commit

Permalink
Merge pull request #2616 from coreshop/coding-standard/refactor-4.0
Browse files Browse the repository at this point in the history
[CS] Refactor
  • Loading branch information
dpfaffenbauer committed Apr 22, 2024
2 parents 26150ca + b560efe commit 4a74994
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,20 @@

declare(strict_types=1);

/*
* CoreShop
*
* This source file is available under two different licenses:
* - GNU General Public License version 3 (GPLv3)
* - CoreShop Commercial License (CCL)
* Full copyright and license information is available in
* LICENSE.md which is distributed with this source code.
*
* @copyright Copyright (c) CoreShop GmbH (https://www.coreshop.org)
* @license https://www.coreshop.org/license GPLv3 and CCL
*
*/

namespace CoreShop\Bundle\CoreBundle\Migrations;

use Doctrine\DBAL\Schema\Schema;
Expand Down Expand Up @@ -29,6 +43,5 @@ public function up(Schema $schema): void

public function down(Schema $schema): void
{

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,20 @@

declare(strict_types=1);

/*
* CoreShop
*
* This source file is available under two different licenses:
* - GNU General Public License version 3 (GPLv3)
* - CoreShop Commercial License (CCL)
* Full copyright and license information is available in
* LICENSE.md which is distributed with this source code.
*
* @copyright Copyright (c) CoreShop GmbH (https://www.coreshop.org)
* @license https://www.coreshop.org/license GPLv3 and CCL
*
*/

namespace CoreShop\Bundle\MessengerBundle\Migrations;

use Doctrine\DBAL\Schema\Schema;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public function __construct(
public function isPaymentProviderRuleValid(
PaymentProviderInterface $paymentProvider,
PayableInterface $payable,
array $configuration
array $configuration,
): bool {
$paymentProviderRuleId = $configuration['paymentProviderRule'];
$paymentProviderRule = $this->paymentProviderRuleRepository->find($paymentProviderRuleId);
Expand Down

0 comments on commit 4a74994

Please sign in to comment.