Skip to content

Commit 12feb34

Browse files
committed
refactore private methods to match docblock standart
1 parent 539c087 commit 12feb34

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

app/code/Magento/Multishipping/Test/Unit/Model/Checkout/Type/MultishippingTest.php

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -794,11 +794,8 @@ private function getQuoteItemMock($productType, $productMock): MockObject
794794
* @param array $infoBuyRequest
795795
* @return MockObject
796796
*/
797-
private function getQuoteAddressItemMock(
798-
$quoteItemMock,
799-
string $productType,
800-
array $infoBuyRequest
801-
): MockObject {
797+
private function getQuoteAddressItemMock($quoteItemMock, string $productType, array $infoBuyRequest): MockObject
798+
{
802799
$quoteAddressItemMock = $this->getMockBuilder(\Magento\Quote\Model\Quote\Address\Item::class)
803800
->disableOriginalConstructor()
804801
->setMethods(['getQuoteItem', 'setProductType', 'setProductOptions', 'getParentItem'])
@@ -889,11 +886,8 @@ private function setQuoteMockData(string $paymentProviderCode, $shippingAddressM
889886
* @param \Magento\Sales\Model\Order\Item|MockObject $orderItemMock
890887
* @return MockObject
891888
*/
892-
private function getOrderMock(
893-
$orderAddressMock,
894-
$orderPaymentMock,
895-
$orderItemMock
896-
): MockObject {
889+
private function getOrderMock($orderAddressMock, $orderPaymentMock, $orderItemMock): MockObject
890+
{
897891
$orderMock = $this->getMockBuilder(\Magento\Sales\Model\Order::class)
898892
->disableOriginalConstructor()
899893
->setMethods(

0 commit comments

Comments
 (0)