Skip to content

Commit

Permalink
Fix collection to array bug
Browse files Browse the repository at this point in the history
  • Loading branch information
miguilimzero committed Apr 21, 2023
1 parent 29667ff commit 14f3949
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AntiBotLinks.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public function validateAnswer(string $value): bool
return false;
}

return join('', $solution) === trim($value);
return $solution->join('') === trim($value);
}

/**
Expand Down

0 comments on commit 14f3949

Please sign in to comment.