Skip to content

Commit 1978882

Browse files
authored
lint fixes 4 15 (#714)
* remaining lint fixes for BusinessExtension dir * lint fixes for /Sales subfolder
1 parent 32c4c46 commit 1978882

File tree

72 files changed

+711
-611
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+711
-611
lines changed

app/code/Meta/BusinessExtension/Setup/Patch/Data/ModifyMetaCronjobExecution.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class ModifyMetaCronjobExecution implements DataPatchInterface, PatchRevertableI
3939
* ModifyMetaCronjobExecution constructor.
4040
*
4141
* @param ModuleDataSetupInterface $moduleDataSetup
42-
* @param WriterInterface $configWriter
42+
* @param WriterInterface $configWriter
4343
*/
4444
public function __construct(
4545
ModuleDataSetupInterface $moduleDataSetup,

app/code/Meta/BusinessExtension/Test/Unit/Controller/Adminhtml/Ajax/FbaamsettingsTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public function setUp(): void
8686
private function setupRequestAndSettings($pixelId, $settingsAsString)
8787
{
8888
$this->request->method('getParam')
89-
->willReturn($pixelId);
89+
->willReturn($pixelId);
9090
$this->fbeHelper->method('fetchAndSaveAAMSettings')->willReturn($settingsAsString);
9191
}
9292

app/code/Meta/Sales/Api/AddCartCouponApiInterface.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ interface AddCartCouponApiInterface
3030
/**
3131
* Add coupon to Magento cart
3232
*
33-
* @param string $externalBusinessId
34-
* @param string $cartId
35-
* @param string $couponCode
33+
* @param string $externalBusinessId
34+
* @param string $cartId
35+
* @param string $couponCode
3636
* @return \Meta\Sales\Api\AddCartCouponApiResponseInterface
3737
* @throws \Magento\Framework\Exception\NoSuchEntityException
3838
* @throws \Magento\Framework\Exception\CouldNotSaveException

app/code/Meta/Sales/Api/AddCartCouponApiResponseInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ interface AddCartCouponApiResponseInterface
3131
* Get status of trying to add coupon to Magento cart
3232
*
3333
* @SuppressWarnings(PHPMD.BooleanGetMethodName)
34-
* @return bool
34+
* @return bool
3535
*/
3636
public function getStatus(): bool;
3737

app/code/Meta/Sales/Api/AddCartItemsApiInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ interface AddCartItemsApiInterface
3030
/**
3131
* Add items to Magento cart
3232
*
33-
* @param string $externalBusinessId
34-
* @param \Magento\Quote\Api\Data\CartItemInterface[] $items
33+
* @param string $externalBusinessId
34+
* @param \Magento\Quote\Api\Data\CartItemInterface[] $items
3535
* @return \Meta\Sales\Api\AddCartItemsApiResponseInterface
3636
* @throws \Magento\Framework\Exception\LocalizedException
3737
*/

app/code/Meta/Sales/Api/CartShippingOptionsApiInterface.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ interface CartShippingOptionsApiInterface
3030
/**
3131
* Fetch Magento cart shipping options
3232
*
33-
* @param string $externalBusinessId
34-
* @param string $cartId
35-
* @param \Magento\Quote\Api\Data\AddressInterface $address
33+
* @param string $externalBusinessId
34+
* @param string $cartId
35+
* @param \Magento\Quote\Api\Data\AddressInterface $address
3636
* @return \Magento\Quote\Api\Data\ShippingMethodInterface[]
3737
* @throws \Magento\Framework\Exception\InputException
3838
* @throws \Magento\Framework\Exception\LocalizedException

app/code/Meta/Sales/Api/CartTotalsApiInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ interface CartTotalsApiInterface
3030
/**
3131
* Get Magento cart totals
3232
*
33-
* @param string $externalBusinessId
34-
* @param string $cartId
33+
* @param string $externalBusinessId
34+
* @param string $cartId
3535
* @return \Magento\Quote\Api\Data\TotalsInterface
3636
* @throws \Magento\Framework\Exception\NoSuchEntityException
3737
* @throws \Magento\Framework\Exception\LocalizedException

app/code/Meta/Sales/Api/CreateCartApiInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ interface CreateCartApiInterface
2828
/**
2929
* Create Magento cart
3030
*
31-
* @param string $externalBusinessId
31+
* @param string $externalBusinessId
3232
* @return string
3333
* @throws \Magento\Framework\Exception\LocalizedException
3434
*/

app/code/Meta/Sales/Api/CreateOrderApiInterface.php

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -35,19 +35,19 @@ interface CreateOrderApiInterface
3535
/**
3636
* Create order
3737
*
38-
* @param string $cartId
39-
* @param string $orderId
40-
* @param float $orderTotal
41-
* @param float $taxTotal
42-
* @param string $email
43-
* @param string $firstName
44-
* @param string $lastName
45-
* @param CreateOrderApiProductItemInterface[] $productItems
46-
* @param CreateOrderApiShipmentDetailsInterface $shipmentDetails
47-
* @param AddressInterface $billingAddress
48-
* @param string|null $channel
49-
* @param bool $buyerRemarketingOptIn
50-
* @param bool $createInvoice
38+
* @param string $cartId
39+
* @param string $orderId
40+
* @param float $orderTotal
41+
* @param float $taxTotal
42+
* @param string $email
43+
* @param string $firstName
44+
* @param string $lastName
45+
* @param CreateOrderApiProductItemInterface[] $productItems
46+
* @param CreateOrderApiShipmentDetailsInterface $shipmentDetails
47+
* @param AddressInterface $billingAddress
48+
* @param string|null $channel
49+
* @param bool $buyerRemarketingOptIn
50+
* @param bool $createInvoice
5151
* @return \Magento\Sales\Api\Data\OrderInterface
5252
*/
5353
public function createOrder(

app/code/Meta/Sales/Api/Data/CreateOrderApiDiscountInterface.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public function getCouponCode(): string;
3939
/**
4040
* Set coupon code
4141
*
42-
* @param string $couponCode
42+
* @param string $couponCode
4343
* @return CreateOrderApiDiscountInterface
4444
*/
4545
public function setCouponCode(string $couponCode): CreateOrderApiDiscountInterface;
@@ -54,7 +54,7 @@ public function getAmount(): float;
5454
/**
5555
* Set amount
5656
*
57-
* @param float $amount
57+
* @param float $amount
5858
* @return CreateOrderApiDiscountInterface
5959
*/
6060
public function setAmount(float $amount): CreateOrderApiDiscountInterface;
@@ -69,7 +69,7 @@ public function getSource(): string;
6969
/**
7070
* Set source
7171
*
72-
* @param string $source
72+
* @param string $source
7373
* @return CreateOrderApiDiscountInterface
7474
*/
7575
public function setSource(string $source): CreateOrderApiDiscountInterface;

0 commit comments

Comments
 (0)