Skip to content

Commit

Permalink
Merge pull request #2516 from coreshop/coding-standard/refactor-4.0
Browse files Browse the repository at this point in the history
[CS] Refactor
  • Loading branch information
dpfaffenbauer authored Jan 22, 2024
2 parents c03814b + 68a7d1b commit dd7aade
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,6 @@
interface ThankYouPageInterface extends FrontendPageInterface
{
public function getToken(): string;

public function recapturePaymentForThisOrder(): 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\CoreBundle\Migrations;

use CoreShop\Bundle\ResourceBundle\Installer\PimcoreRoutesInstaller;
Expand Down
10 changes: 10 additions & 0 deletions src/CoreShop/Component/Resource/DataHub/DoctrineProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,18 +46,28 @@
class DoctrineProvider
{
public const JSON = 'Json';

public const ARRAY = 'Array';

/** @var Type[] */
private static array|null $standardTypes = null;

private array $doctrineMetadata = [];

private array $types = [];

private array $typeClass = [];

private array $doctrineToName = [];

private array $inputTypes = [];

private array $inputTypesToName = [];

private array $inputQueryFilterTypes = [];

private array $identifierFields = [];

private array $classMap = [];

private $niceNameMap = [];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
use CoreShop\Component\Resource\Service\FolderCreationServiceInterface;
use CoreShop\Component\StorageList\Model\StorageListInterface;
use CoreShop\Component\StorageList\StorageListManagerInterface;
use Doctrine\DBAL\Connection;

final class StorageListPimcoreModelManager implements StorageListManagerInterface
{
Expand Down

0 comments on commit dd7aade

Please sign in to comment.