Skip to content

Commit

Permalink
fix: Update return type
Browse files Browse the repository at this point in the history
  • Loading branch information
kjohnson committed Aug 18, 2023
1 parent 8adfe6d commit 691949b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public function testShouldReturnFormSchema()

$blocks = BlockCollection::make([$block]);

$formSchema = (new ConvertDonationFormBlocksToFieldsApi())($blocks, $formId);
list($formSchema, $blockNodeRelationships) = (new ConvertDonationFormBlocksToFieldsApi())($blocks, $formId);

$form = new DonationFormNode('donation-form');
$form->defaultCurrency('USD');
Expand Down Expand Up @@ -116,7 +116,7 @@ static function ($node, BlockModel $block, int $blockIndex) {
3
);

$formSchema = (new ConvertDonationFormBlocksToFieldsApi())($blocks, $formId);
list($formSchema, $blockNodeRelationships) = (new ConvertDonationFormBlocksToFieldsApi())($blocks, $formId);

$form = new DonationFormNode('donation-form');
$form->defaultCurrency('USD');
Expand Down

0 comments on commit 691949b

Please sign in to comment.