Skip to content

Commit ff8f1e1

Browse files
committed
Update optional parameter types in storePayment method
1 parent 7e1bb15 commit ff8f1e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Services/PaymentHandlers/BasePaymentHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public function getTransactionReferenceName(): string
7676
* This method should also create a record for this transaction in the database payments table.
7777
*
7878
*/
79-
public function storePaymentAndShowUserBeforeProcessing(?int $user_id, $original_amount_displayed_to_user, string $transaction_description, $currency, string $transaction_reference, string $completion_url = null, Request $optionalRequestForEloquentModelLinkage = null, $preferredView = null, ?array $metadata = null)
79+
public function storePaymentAndShowUserBeforeProcessing(?int $user_id, $original_amount_displayed_to_user, string $transaction_description, $currency, string $transaction_reference, ?string $completion_url = null, ?Request $optionalRequestForEloquentModelLinkage = null, $preferredView = null, ?array $metadata = null)
8080
{
8181
$payment = (new CreateNewPayment())->execute(
8282
$this->getUniquePaymentHandlerName(),

0 commit comments

Comments
 (0)