@@ -40,7 +40,7 @@ |
||
40 | 40 | public function setDataImporterReaderConfigurationTransfer(DataImporterReaderConfigurationTransfer $dataImporterReaderConfigurationTransfer) |
41 | 41 | { |
42 | 42 | $modified = $dataImporterReaderConfigurationTransfer->modifiedToArray(); |
43 | - $modified = array_filter($modified, function ($value) { |
|
43 | + $modified = array_filter($modified, function($value) { |
|
44 | 44 | return ($value !== null); |
45 | 45 | }); |
46 | 46 | $this->dataImporterReaderConfigurationTransfer->fromArray($modified); |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | } |
77 | 77 | |
78 | 78 | /** |
79 | - * @param \Generated\Shared\Transfer\ProductSetTransfer $productSetTransfer |
|
79 | + * @param ProductSetTransfer|null $productSetTransfer |
|
80 | 80 | * |
81 | 81 | * @return array |
82 | 82 | */ |
@@ -90,7 +90,7 @@ discard block |
||
90 | 90 | } |
91 | 91 | |
92 | 92 | /** |
93 | - * @param \Generated\Shared\Transfer\ProductSetTransfer $productSetTransfer |
|
93 | + * @param ProductSetTransfer|null $productSetTransfer |
|
94 | 94 | * |
95 | 95 | * @return array |
96 | 96 | */ |
@@ -132,7 +132,7 @@ discard block |
||
132 | 132 | } |
133 | 133 | |
134 | 134 | /** |
135 | - * @param \Generated\Shared\Transfer\ProductSetTransfer $productSetTransfer |
|
135 | + * @param ProductSetTransfer|null $productSetTransfer |
|
136 | 136 | * |
137 | 137 | * @return array |
138 | 138 | */ |
@@ -189,7 +189,7 @@ discard block |
||
189 | 189 | } |
190 | 190 | |
191 | 191 | /** |
192 | - * @param \Generated\Shared\Transfer\ProductSetTransfer $productSetTransfer |
|
192 | + * @param ProductSetTransfer|null $productSetTransfer |
|
193 | 193 | * |
194 | 194 | * @return array |
195 | 195 | */ |
@@ -58,7 +58,7 @@ |
||
58 | 58 | 'required' => true, |
59 | 59 | 'constraints' => [ |
60 | 60 | new NotBlank(), |
61 | - ], |
|
61 | + ], |
|
62 | 62 | ]); |
63 | 63 | |
64 | 64 | return $this; |
@@ -20,7 +20,7 @@ |
||
20 | 20 | { |
21 | 21 | use _generated\SessionTesterActions; |
22 | 22 | |
23 | - /** |
|
24 | - * Define custom actions here |
|
25 | - */ |
|
23 | + /** |
|
24 | + * Define custom actions here |
|
25 | + */ |
|
26 | 26 | } |
@@ -20,7 +20,7 @@ |
||
20 | 20 | { |
21 | 21 | use _generated\SessionTesterActions; |
22 | 22 | |
23 | - /** |
|
24 | - * Define custom actions here |
|
25 | - */ |
|
23 | + /** |
|
24 | + * Define custom actions here |
|
25 | + */ |
|
26 | 26 | } |
@@ -193,12 +193,12 @@ |
||
193 | 193 | public function querySalesOrderDetails($idSalesOrder) |
194 | 194 | { |
195 | 195 | $query = $this->getFactory()->createSalesOrderQuery() |
196 | - ->setModelAlias('order') |
|
197 | - ->filterByIdSalesOrder($idSalesOrder) |
|
198 | - ->innerJoinWith('order.BillingAddress billingAddress') |
|
199 | - ->innerJoinWith('billingAddress.Country billingCountry') |
|
200 | - ->innerJoinWith('order.ShippingAddress shippingAddress') |
|
201 | - ->innerJoinWith('shippingAddress.Country shippingCountry'); |
|
196 | + ->setModelAlias('order') |
|
197 | + ->filterByIdSalesOrder($idSalesOrder) |
|
198 | + ->innerJoinWith('order.BillingAddress billingAddress') |
|
199 | + ->innerJoinWith('billingAddress.Country billingCountry') |
|
200 | + ->innerJoinWith('order.ShippingAddress shippingAddress') |
|
201 | + ->innerJoinWith('shippingAddress.Country shippingCountry'); |
|
202 | 202 | |
203 | 203 | return $query; |
204 | 204 | } |
@@ -44,7 +44,7 @@ |
||
44 | 44 | */ |
45 | 45 | public function reorderProductSets(array $productSetTransfers) |
46 | 46 | { |
47 | - $this->handleDatabaseTransaction(function () use ($productSetTransfers) { |
|
47 | + $this->handleDatabaseTransaction(function() use ($productSetTransfers) { |
|
48 | 48 | $this->executeReorderProductSetsTransaction($productSetTransfers); |
49 | 49 | }); |
50 | 50 | } |
@@ -33,7 +33,7 @@ |
||
33 | 33 | $app['twig'] = $app->share( |
34 | 34 | $app->extend( |
35 | 35 | 'twig', |
36 | - function (Twig_Environment $twig) use ($twigExtension) { |
|
36 | + function(Twig_Environment $twig) use ($twigExtension) { |
|
37 | 37 | $twig->addExtension($twigExtension); |
38 | 38 | |
39 | 39 | return $twig; |
@@ -72,7 +72,7 @@ |
||
72 | 72 | $customerTransfer->requireIdCustomer(); |
73 | 73 | $customerTransfer = $this->getCustomer($customerTransfer); |
74 | 74 | |
75 | - $this->handleDatabaseTransaction(function () use ($customerTransfer) { |
|
75 | + $this->handleDatabaseTransaction(function() use ($customerTransfer) { |
|
76 | 76 | $this->processTransaction($customerTransfer); |
77 | 77 | }); |
78 | 78 | } |
@@ -44,7 +44,7 @@ |
||
44 | 44 | * @param \Spryker\Zed\Customer\Persistence\CustomerQueryContainerInterface $customerQueryContainer |
45 | 45 | * @param \Spryker\Zed\Customer\Business\Customer\CustomerInterface $customerModel |
46 | 46 | * @param \Spryker\Zed\Customer\Business\Customer\AddressInterface $addressModel |
47 | - * @param array $customerAnonymizerPlugins |
|
47 | + * @param \Spryker\Zed\Customer\Dependency\Plugin\CustomerAnonymizerPluginInterface[] $customerAnonymizerPlugins |
|
48 | 48 | */ |
49 | 49 | public function __construct( |
50 | 50 | CustomerQueryContainerInterface $customerQueryContainer, |