@@ -43,7 +43,7 @@ |
||
43 | 43 | */ |
44 | 44 | public function providePersistenceLayerDependencies(Container $container) |
45 | 45 | { |
46 | - $container[self::AVAILABILITY_QUERY_CONTAINER] = function (Container $container) { |
|
46 | + $container[self::AVAILABILITY_QUERY_CONTAINER] = function(Container $container) { |
|
47 | 47 | $availabilityQueryContainer = $container->getLocator() |
48 | 48 | ->availability() |
49 | 49 | ->queryContainer(); |
@@ -43,7 +43,7 @@ |
||
43 | 43 | */ |
44 | 44 | public function providePersistenceLayerDependencies(Container $container) |
45 | 45 | { |
46 | - $container[self::CATEGORY_QUERY_CONTAINER] = function (Container $container) { |
|
46 | + $container[self::CATEGORY_QUERY_CONTAINER] = function(Container $container) { |
|
47 | 47 | $categoryQueryContainer = $container->getLocator() |
48 | 48 | ->category() |
49 | 49 | ->queryContainer(); |
@@ -43,7 +43,7 @@ |
||
43 | 43 | */ |
44 | 44 | public function providePersistenceLayerDependencies(Container $container) |
45 | 45 | { |
46 | - $container[self::PRODUCT_QUERY_CONTAINER] = function (Container $container) { |
|
46 | + $container[self::PRODUCT_QUERY_CONTAINER] = function(Container $container) { |
|
47 | 47 | $productQueryContainer = $container->getLocator() |
48 | 48 | ->product() |
49 | 49 | ->queryContainer(); |
@@ -228,7 +228,7 @@ discard block |
||
228 | 228 | } |
229 | 229 | |
230 | 230 | /** |
231 | - * @return \Spryker\Zed\Discount\Dependency\Plugin\DecisionRulePluginInterface[] |
|
231 | + * @return SkuDecisionRulePlugin[] |
|
232 | 232 | */ |
233 | 233 | protected function createDecisionRulePlugins() |
234 | 234 | { |
@@ -248,7 +248,7 @@ discard block |
||
248 | 248 | } |
249 | 249 | |
250 | 250 | /** |
251 | - * @return \Spryker\Zed\Discount\Dependency\Plugin\CollectorPluginInterface[] |
|
251 | + * @return ItemBySkuCollectorPlugin[] |
|
252 | 252 | */ |
253 | 253 | protected function createCollectorPlugins() |
254 | 254 | { |
@@ -548,7 +548,7 @@ discard block |
||
548 | 548 | } |
549 | 549 | |
550 | 550 | /** |
551 | - * @return \PHPUnit_Framework_MockObject_MockObject|\Spryker\Zed\Discount\Dependency\Plugin\DiscountCalculatorPluginInterface |
|
551 | + * @return DiscountCalculatorPluginInterface|null |
|
552 | 552 | */ |
553 | 553 | protected function createCalculatorPluginMock() |
554 | 554 | { |
@@ -315,7 +315,7 @@ |
||
315 | 315 | */ |
316 | 316 | protected function createCollectorPlugins() |
317 | 317 | { |
318 | - $collectorProviderPlugins[] = new ItemBySkuCollectorPlugin(); |
|
318 | + $collectorProviderPlugins[] = new ItemBySkuCollectorPlugin(); |
|
319 | 319 | |
320 | 320 | return $collectorProviderPlugins; |
321 | 321 | } |
@@ -486,7 +486,7 @@ discard block |
||
486 | 486 | |
487 | 487 | $calculatorMock |
488 | 488 | ->method('calculateDiscount') |
489 | - ->willReturnCallback(function ($discountableItems, DiscountTransfer $discountTransfer) { |
|
489 | + ->willReturnCallback(function($discountableItems, DiscountTransfer $discountTransfer) { |
|
490 | 490 | return $discountTransfer->getAmount(); |
491 | 491 | }); |
492 | 492 | |
@@ -550,7 +550,7 @@ discard block |
||
550 | 550 | $calculatorPluginMock = $this->createCalculatorPluginMock(); |
551 | 551 | $calculatorPluginMock |
552 | 552 | ->method('calculateDiscount') |
553 | - ->willReturnCallback(function ($discountableItems, DiscountTransfer $discountTransfer) { |
|
553 | + ->willReturnCallback(function($discountableItems, DiscountTransfer $discountTransfer) { |
|
554 | 554 | return $discountTransfer->getAmount(); |
555 | 555 | }); |
556 | 556 | } |
@@ -54,7 +54,7 @@ |
||
54 | 54 | } |
55 | 55 | |
56 | 56 | /** |
57 | - * @return \PHPUnit_Framework_MockObject_MockObject|\Spryker\Zed\Discount\Business\QueryString\Specification\CollectorSpecification\CollectorSpecificationInterface |
|
57 | + * @return CollectorSpecificationInterface |
|
58 | 58 | */ |
59 | 59 | protected function createCollectorSpecificationMock() |
60 | 60 | { |
@@ -54,7 +54,7 @@ |
||
54 | 54 | } |
55 | 55 | |
56 | 56 | /** |
57 | - * @return \PHPUnit_Framework_MockObject_MockObject|\Spryker\Zed\Discount\Business\QueryString\Specification\CollectorSpecification\CollectorSpecificationInterface |
|
57 | + * @return CollectorSpecificationInterface |
|
58 | 58 | */ |
59 | 59 | protected function createCollectorSpecificationMock() |
60 | 60 | { |
@@ -102,7 +102,7 @@ discard block |
||
102 | 102 | } |
103 | 103 | |
104 | 104 | /** |
105 | - * @return \PHPUnit_Framework_MockObject_MockObject|\Spryker\Zed\Discount\Dependency\Plugin\DecisionRulePluginInterface |
|
105 | + * @return DecisionRulePluginInterface|null |
|
106 | 106 | */ |
107 | 107 | protected function createDecisionRulePluginMock() |
108 | 108 | { |
@@ -110,7 +110,7 @@ discard block |
||
110 | 110 | } |
111 | 111 | |
112 | 112 | /** |
113 | - * @return \PHPUnit_Framework_MockObject_MockObject|\Spryker\Zed\Discount\Business\QueryString\Specification\DecisionRuleSpecification\DecisionRuleSpecificationInterface |
|
113 | + * @return DecisionRuleSpecificationInterface |
|
114 | 114 | */ |
115 | 115 | protected function createDecisionRuleSpecificationMock() |
116 | 116 | { |
@@ -71,7 +71,7 @@ |
||
71 | 71 | } |
72 | 72 | |
73 | 73 | /** |
74 | - * @return \PHPUnit_Framework_MockObject_MockObject|\Spryker\Zed\Discount\Business\QueryString\Specification\DecisionRuleSpecification\DecisionRuleSpecificationInterface |
|
74 | + * @return DecisionRuleSpecificationInterface |
|
75 | 75 | */ |
76 | 76 | protected function createDecisionRuleSpecificationMock() |
77 | 77 | { |
@@ -71,7 +71,7 @@ |
||
71 | 71 | } |
72 | 72 | |
73 | 73 | /** |
74 | - * @return \PHPUnit_Framework_MockObject_MockObject|\Spryker\Zed\Discount\Business\QueryString\Specification\DecisionRuleSpecification\DecisionRuleSpecificationInterface |
|
74 | + * @return DecisionRuleSpecificationInterface |
|
75 | 75 | */ |
76 | 76 | protected function createDecisionRuleSpecificationMock() |
77 | 77 | { |