@@ -84,8 +84,7 @@ |
||
84 | 84 | $this->tableClass = static::TABLE_CLASS; |
85 | 85 | |
86 | 86 | $identifierSuffix = !$this->identifierSuffix ? |
87 | - static::TABLE_IDENTIFIER : |
|
88 | - sprintf('%s-%s', static::TABLE_IDENTIFIER, $this->identifierSuffix); |
|
87 | + static::TABLE_IDENTIFIER : sprintf('%s-%s', static::TABLE_IDENTIFIER, $this->identifierSuffix); |
|
89 | 88 | $this->setTableIdentifier($identifierSuffix); |
90 | 89 | |
91 | 90 | $config->setHeader([ |
@@ -98,8 +98,7 @@ |
||
98 | 98 | $this->defaultUrl = Url::generate(static::TABLE_IDENTIFIER, $parameters)->build(); |
99 | 99 | $this->tableClass = static::TABLE_CLASS; |
100 | 100 | $identifierSuffix = !$this->identifierSuffix ? |
101 | - static::TABLE_IDENTIFIER : |
|
102 | - sprintf('%s-%s', static::TABLE_IDENTIFIER, $this->identifierSuffix); |
|
101 | + static::TABLE_IDENTIFIER : sprintf('%s-%s', static::TABLE_IDENTIFIER, $this->identifierSuffix); |
|
103 | 102 | $this->setTableIdentifier($identifierSuffix); |
104 | 103 | |
105 | 104 | $this->disableSearch(); |
@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | { |
47 | 47 | return [ |
48 | 48 | 'tree structure: null -> A -> B, C' => [ |
49 | - (function (): ArrayObject { |
|
49 | + (function(): ArrayObject { |
|
50 | 50 | $companyBusinessUnits = new ArrayObject(); |
51 | 51 | |
52 | 52 | $companyBusinessUnits->append((new CompanyBusinessUnitBuilder([CompanyBusinessUnitTransfer::ID_COMPANY_BUSINESS_UNIT => 1, CompanyBusinessUnitTransfer::NAME => 'A', CompanyBusinessUnitTransfer::FK_PARENT_COMPANY_BUSINESS_UNIT => null]))->build()); |
@@ -72,7 +72,7 @@ discard block |
||
72 | 72 | ], |
73 | 73 | ], |
74 | 74 | 'tree structure: null -> D -> E -> G ; D -> F' => [ |
75 | - (function (): ArrayObject { |
|
75 | + (function(): ArrayObject { |
|
76 | 76 | $companyBusinessUnits = new ArrayObject(); |
77 | 77 | |
78 | 78 | $companyBusinessUnits->append((new CompanyBusinessUnitBuilder([CompanyBusinessUnitTransfer::ID_COMPANY_BUSINESS_UNIT => 4, CompanyBusinessUnitTransfer::NAME => 'D', CompanyBusinessUnitTransfer::FK_PARENT_COMPANY_BUSINESS_UNIT => null]))->build()); |
@@ -56,7 +56,7 @@ |
||
56 | 56 | |
57 | 57 | /** @var \SprykerTest\Shared\Testify\Helper\DataCleanupHelper $dataCleanupHelper */ |
58 | 58 | $dataCleanupHelper = $this->getDataCleanupHelper(); |
59 | - $dataCleanupHelper->_addCleanup(function () use ($companyUnitAddressTransfer): void { |
|
59 | + $dataCleanupHelper->_addCleanup(function() use ($companyUnitAddressTransfer): void { |
|
60 | 60 | $companyUnitAddressTransfer->setLabelCollection(); |
61 | 61 | $this->getCompanyUnitAddressLabelFacade() |
62 | 62 | ->saveLabelToAddressRelations($companyUnitAddressTransfer); |
@@ -19,10 +19,10 @@ |
||
19 | 19 | */ |
20 | 20 | public function findQuoteById($idQuote): QuoteResponseTransfer; |
21 | 21 | |
22 | - /** |
|
23 | - * @param \Generated\Shared\Transfer\QuoteTransfer $quoteTransfer |
|
24 | - * |
|
25 | - * @return bool |
|
26 | - */ |
|
22 | + /** |
|
23 | + * @param \Generated\Shared\Transfer\QuoteTransfer $quoteTransfer |
|
24 | + * |
|
25 | + * @return bool |
|
26 | + */ |
|
27 | 27 | public function isQuoteLocked(QuoteTransfer $quoteTransfer): bool; |
28 | 28 | } |
@@ -47,7 +47,7 @@ |
||
47 | 47 | protected function getApplicationMock(): Application |
48 | 48 | { |
49 | 49 | $application = new Application(); |
50 | - $application['twig'] = function () { |
|
50 | + $application['twig'] = function() { |
|
51 | 51 | return new Environment(new FilesystemLoader()); |
52 | 52 | }; |
53 | 53 |
@@ -28,7 +28,7 @@ |
||
28 | 28 | public function register(Application $app): void |
29 | 29 | { |
30 | 30 | $app['twig'] = $app->share( |
31 | - $app->extend('twig', function (Environment $twig) { |
|
31 | + $app->extend('twig', function(Environment $twig) { |
|
32 | 32 | $twig->addExtension(new SchedulerTwigPlugin()); |
33 | 33 | |
34 | 34 | return $twig; |
@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | public function configureOptions(OptionsResolver $resolver): void |
38 | 38 | { |
39 | 39 | $resolver->setDefaults([ |
40 | - 'validation_groups' => function (FormInterface $form) { |
|
40 | + 'validation_groups' => function(FormInterface $form) { |
|
41 | 41 | /** @var \Generated\Shared\Transfer\LocalizedContentTransfer $localizedContentTransfer */ |
42 | 42 | $localizedContentTransfer = $form->getParent()->getData(); |
43 | 43 | if ($localizedContentTransfer->getFkLocale() === null) { |
@@ -118,7 +118,7 @@ discard block |
||
118 | 118 | ], |
119 | 119 | ])->get(static::FIELD_ID_ABSTRACT_PRODUCTS)->addEventListener( |
120 | 120 | FormEvents::PRE_SUBMIT, |
121 | - function (FormEvent $event): void { |
|
121 | + function(FormEvent $event): void { |
|
122 | 122 | if (!$event->getData()) { |
123 | 123 | return; |
124 | 124 | } |
@@ -110,7 +110,7 @@ discard block |
||
110 | 110 | |
111 | 111 | $quoteTransfer = $this->reloadStoreForQuote($quoteTransfer); |
112 | 112 | |
113 | - return $this->getTransactionHandler()->handleTransaction(function () use ($quoteTransfer) { |
|
113 | + return $this->getTransactionHandler()->handleTransaction(function() use ($quoteTransfer) { |
|
114 | 114 | return $this->executeCreateTransaction($quoteTransfer); |
115 | 115 | }); |
116 | 116 | } |
@@ -136,7 +136,7 @@ discard block |
||
136 | 136 | |
137 | 137 | $quoteTransfer = $this->reloadStoreForQuote($quoteTransfer); |
138 | 138 | |
139 | - return $this->getTransactionHandler()->handleTransaction(function () use ($quoteTransfer) { |
|
139 | + return $this->getTransactionHandler()->handleTransaction(function() use ($quoteTransfer) { |
|
140 | 140 | return $this->executeUpdateTransaction($quoteTransfer); |
141 | 141 | }); |
142 | 142 | } |