Skip to content

Commit

Permalink
Updates for v3
Browse files Browse the repository at this point in the history
  • Loading branch information
woutse committed Nov 10, 2024
1 parent 90a4ff7 commit e22cb96
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
7 changes: 4 additions & 3 deletions samples/Exchange.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,17 @@
* @param string $orderId
* @return true
*/
function yourCodeToProcessPendingOrder($orderId) {
function yourCodeToProcessPendingOrder($orderId)
{
return true;
}

/**
* @phpcs:ignore
* @param $orderId
* @param string $orderId
* @return true
*/
function yourCodeToProcessPaidOrder($orderId)
function yourCodeToProcessPaidOrder(string $orderId)
{
return true;
}
Expand Down
5 changes: 3 additions & 2 deletions src/Model/CheckoutOptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,12 @@ public function addCheckoutOption(CheckoutOption $checkoutoption): self
}

/**
* @phpcs:ignore
* @phpcs:disable
* @inheritDoc
*/
public function getCollectionName(): string // phpcs:ignore
public function getCollectionName(): string
{
return 'checkoutoptions';
}
/** @phpcs:enable */
}

0 comments on commit e22cb96

Please sign in to comment.