Skip to content

Commit

Permalink
Fix bug with invest reward function return type
Browse files Browse the repository at this point in the history
  • Loading branch information
subiabre committed Dec 12, 2023
1 parent 946a56d commit 7a86b62
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ private function getRedirectUrl(...$args): string
private function getInvestReward(Invest $invest, string $noReward): string
{
return !empty($invest->getRewards())
? $invest->getRewards()[0]
? $invest->getRewards()[0]->id
: $noReward;
}

Expand Down

0 comments on commit 7a86b62

Please sign in to comment.