@@ -225,7 +225,7 @@ |
||
225 | 225 | } |
226 | 226 | |
227 | 227 | /** |
228 | - * @param \PHPUnit_Framework_MockObject_MockObject|\Spryker\Zed\Discount\DiscountConfig $discountConfigMock |
|
228 | + * @param DiscountConfig $discountConfigMock |
|
229 | 229 | * |
230 | 230 | * @return void |
231 | 231 | */ |
@@ -106,7 +106,7 @@ |
||
106 | 106 | { |
107 | 107 | $items = $this->getDiscountableItems( |
108 | 108 | [ |
109 | - self::ITEM_GROSS_PRICE_1000, |
|
109 | + self::ITEM_GROSS_PRICE_1000, |
|
110 | 110 | ] |
111 | 111 | ); |
112 | 112 |
@@ -47,7 +47,7 @@ |
||
47 | 47 | |
48 | 48 | $discountQueryContainerMock = $this->createDiscountQueryContainerMock(); |
49 | 49 | $discountQueryContainerMock->method('queryVoucherPoolByVoucherCodes') |
50 | - ->willReturn($discountQueryMock); |
|
50 | + ->willReturn($discountQueryMock); |
|
51 | 51 | |
52 | 52 | $voucherCode = $this->createVoucherCode($discountQueryContainerMock); |
53 | 53 | $updated = $voucherCode->useCodes(['123']); |
@@ -238,7 +238,7 @@ |
||
238 | 238 | } |
239 | 239 | |
240 | 240 | /** |
241 | - * @return \PHPUnit_Framework_MockObject_MockObject|\Spryker\Zed\Discount\Persistence\DiscountQueryContainerInterface |
|
241 | + * @return DiscountQueryContainerInterface|null |
|
242 | 242 | */ |
243 | 243 | protected function createDiscountQueryContainerMock() |
244 | 244 | { |
@@ -27,7 +27,7 @@ |
||
27 | 27 | */ |
28 | 28 | protected function getFunction() |
29 | 29 | { |
30 | - return function ($url, $title, $options = []) { |
|
30 | + return function($url, $title, $options = []) { |
|
31 | 31 | if (!array_key_exists(ButtonUrlGenerator::ICON, $options)) { |
32 | 32 | $options[ButtonUrlGenerator::ICON] = $this->getIcon(); |
33 | 33 | } |
@@ -39,7 +39,7 @@ |
||
39 | 39 | { |
40 | 40 | $this->assertProductGroupForUpdate($productGroupTransfer); |
41 | 41 | |
42 | - $this->handleDatabaseTransaction(function () use ($productGroupTransfer) { |
|
42 | + $this->handleDatabaseTransaction(function() use ($productGroupTransfer) { |
|
43 | 43 | $this->executeUpdateProductGroupTransaction($productGroupTransfer); |
44 | 44 | }); |
45 | 45 | } |
@@ -170,7 +170,7 @@ |
||
170 | 170 | */ |
171 | 171 | public function createSubtotalCalculator() |
172 | 172 | { |
173 | - return new SubtotalCalculator(); |
|
173 | + return new SubtotalCalculator(); |
|
174 | 174 | } |
175 | 175 | |
176 | 176 | /** |
@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | } |
72 | 72 | |
73 | 73 | /** |
74 | - * @return \Spryker\Zed\Calculation\Business\Model\Calculator\CalculatorInterface[] |
|
74 | + * @return Model\Calculator\CalculatorInterface[] |
|
75 | 75 | */ |
76 | 76 | protected function createNetPriceCalculators() |
77 | 77 | { |
@@ -82,7 +82,7 @@ discard block |
||
82 | 82 | } |
83 | 83 | |
84 | 84 | /** |
85 | - * @return \Spryker\Zed\Calculation\Business\Model\Calculator\CalculatorInterface[] |
|
85 | + * @return Model\Calculator\CalculatorInterface[] |
|
86 | 86 | */ |
87 | 87 | protected function createGrossPriceCalculators() |
88 | 88 | { |
@@ -311,7 +311,7 @@ discard block |
||
311 | 311 | } |
312 | 312 | |
313 | 313 | /** |
314 | - * @return \Spryker\Zed\Calculation\Dependency\Plugin\CalculatorPluginInterface[]|\Spryker\Zed\Calculation\Dependency\Plugin\CalculationPluginInterface[] |
|
314 | + * @return \Spryker\Zed\Calculation\Dependency\Plugin\CalculationPluginInterface[] |
|
315 | 315 | */ |
316 | 316 | protected function getProvidedOrderCalculatorPluginStack() |
317 | 317 | { |
@@ -48,7 +48,7 @@ |
||
48 | 48 | { |
49 | 49 | $this->assertProductGroupForExtension($productGroupTransfer); |
50 | 50 | |
51 | - return $this->handleDatabaseTransaction(function () use ($productGroupTransfer) { |
|
51 | + return $this->handleDatabaseTransaction(function() use ($productGroupTransfer) { |
|
52 | 52 | return $this->executeExtendProductGroupTransaction($productGroupTransfer); |
53 | 53 | }); |
54 | 54 | } |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | { |
49 | 49 | $this->assertProductGroupForUpdate($productGroupTransfer); |
50 | 50 | |
51 | - return $this->handleDatabaseTransaction(function () use ($productGroupTransfer) { |
|
51 | + return $this->handleDatabaseTransaction(function() use ($productGroupTransfer) { |
|
52 | 52 | return $this->executeUpdateProductGroupTransaction($productGroupTransfer); |
53 | 53 | }); |
54 | 54 | } |
@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | { |
63 | 63 | $this->assertProductGroupForUpdate($productGroupTransfer); |
64 | 64 | |
65 | - return $this->handleDatabaseTransaction(function () use ($productGroupTransfer) { |
|
65 | + return $this->handleDatabaseTransaction(function() use ($productGroupTransfer) { |
|
66 | 66 | return $this->executeUpdateProductGroupTransaction($productGroupTransfer); |
67 | 67 | }); |
68 | 68 | } |
@@ -43,7 +43,7 @@ |
||
43 | 43 | return $productGroupTransfer; |
44 | 44 | } |
45 | 45 | |
46 | - return $this->handleDatabaseTransaction(function () use ($productGroupTransfer) { |
|
46 | + return $this->handleDatabaseTransaction(function() use ($productGroupTransfer) { |
|
47 | 47 | return $this->executeCreateProductGroupTransaction($productGroupTransfer); |
48 | 48 | }); |
49 | 49 | } |