Skip to content

Commit

Permalink
Update src/DonationForms/DataTransferObjects/DonateFormRouteData.php
Browse files Browse the repository at this point in the history
Co-authored-by: Jason Adams <[email protected]>
  • Loading branch information
kjohnson and JasonTheAdams authored Aug 18, 2023
1 parent 824526b commit db758de
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class DonateFormRouteData implements Arrayable
*/
public static function fromRequest(array $requestData): DonateFormRouteData
{
$self = new DonateFormRouteData();
$self = new self();
$self->formId = (int)$requestData['formId'];
$self->gatewayId = $requestData['gatewayId'];
$self->originUrl = $requestData['originUrl'];
Expand Down

0 comments on commit db758de

Please sign in to comment.