diff --git a/app/Classes/Modules/Bookings/ControllersLogic/CreateBookingPaymentLogic.php b/app/Classes/Modules/Bookings/ControllersLogic/CreateBookingPaymentLogic.php index e949c650..e0d49b0e 100644 --- a/app/Classes/Modules/Bookings/ControllersLogic/CreateBookingPaymentLogic.php +++ b/app/Classes/Modules/Bookings/ControllersLogic/CreateBookingPaymentLogic.php @@ -165,7 +165,7 @@ class CreateBookingPaymentLogic extends AbstractControllerLogic throw new MalformedRequestException('Your payment must not be greater than '. $outstanding .'.'); } - private function handlePaymentMethods(Booking $booking, CalculationObject $configurations, string $billNumber, string $bankCode, string $email, string $paymentMethod): ?string + private function handlePaymentMethods(Booking $booking, CalculationObject $configurations, string $billNumber, ?string $bankCode, string $email, string $paymentMethod): ?string { $paymentReference = null; @@ -178,7 +178,7 @@ class CreateBookingPaymentLogic extends AbstractControllerLogic return $paymentReference; } - private function handlePaymentGateway(Booking $booking, CalculationObject $configurations, string $billNumber, string $bankCode, string $email): string + private function handlePaymentGateway(Booking $booking, CalculationObject $configurations, string $billNumber, ?string $bankCode, string $email): string { $billPlzBill = $this->createsBillplzBill->execute( $booking->company->name,