Skip to content

Commit

Permalink
Fix undefined variable
Browse files Browse the repository at this point in the history
  • Loading branch information
enjinabner committed Jan 31, 2025
1 parent b9e84e4 commit 49c5108
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ protected function rulesWithValidation(array $args): array
$min = Arr::get($args, 'params.removeTokenStorage', false) ? 0 : 1;

return [
'collectionId' => [$removeTokenStorage ? new IsCollectionOwner() : 'exists:collections,collection_chain_id'],
'collectionId' => [$min ? new IsCollectionOwner() : 'exists:collections,collection_chain_id'],
'params.amount' => [new MinBigInt($min), new MaxTokenBalance()],
...$this->getTokenFieldRulesExist('params'),
];
Expand Down

0 comments on commit 49c5108

Please sign in to comment.