@@ -230,8 +230,11 @@ public function cacheKeyProvider(): array
230
230
* @param string|null $priceCurrency
231
231
* @param string|null $customerGroupId
232
232
*/
233
- public function testGetCacheKeyInfo (array $ expected , string $ priceCurrency = null , string $ customerGroupId = null ): void
234
- {
233
+ public function testGetCacheKeyInfo (
234
+ array $ expected ,
235
+ string $ priceCurrency = null ,
236
+ string $ customerGroupId = null
237
+ ): void {
235
238
$ storeMock = $ this ->getMockBuilder (\Magento \Store \Api \Data \StoreInterface::class)
236
239
->setMethods (['getCurrentCurrency ' ])
237
240
->getMockForAbstractClass ();
@@ -385,7 +388,7 @@ private function getExpectedArray($productId, $amount, $priceQty, $percentage):
385
388
],
386
389
],
387
390
'msrpPrice ' => [
388
- 'amount ' => null ,
391
+ 'amount ' => null ,
389
392
]
390
393
],
391
394
],
@@ -419,8 +422,9 @@ private function getExpectedArray($productId, $amount, $priceQty, $percentage):
419
422
* @param \PHPUnit\Framework\MockObject\MockObject $productMock
420
423
* @return \PHPUnit\Framework\MockObject\MockObject
421
424
*/
422
- private function getProductTypeMock (\PHPUnit \Framework \MockObject \MockObject $ productMock ): \PHPUnit \Framework \MockObject \MockObject
423
- {
425
+ private function getProductTypeMock (
426
+ \PHPUnit \Framework \MockObject \MockObject $ productMock
427
+ ): \PHPUnit \Framework \MockObject \MockObject {
424
428
$ currencyMock = $ this ->getMockBuilder (\Magento \Directory \Model \Currency::class)
425
429
->disableOriginalConstructor ()
426
430
->getMock ();
@@ -501,8 +505,11 @@ protected function getAmountMock($amount): \PHPUnit\Framework\MockObject\MockObj
501
505
* @param int $percentage
502
506
* @return \PHPUnit\Framework\MockObject\MockObject
503
507
*/
504
- protected function getTierPriceMock (\PHPUnit_Framework_MockObject_MockObject $ amountMock , $ priceQty , $ percentage ): \PHPUnit \Framework \MockObject \MockObject
505
- {
508
+ protected function getTierPriceMock (
509
+ \PHPUnit \Framework \MockObject \MockObject $ amountMock ,
510
+ $ priceQty ,
511
+ $ percentage
512
+ ): \PHPUnit \Framework \MockObject \MockObject {
506
513
$ tierPrice = [
507
514
'price_qty ' => $ priceQty ,
508
515
'price ' => $ amountMock ,
0 commit comments