Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@mehmet-gandomi
Copy link
Contributor

@mehmet-gandomi mehmet-gandomi commented Dec 10, 2025

Describe your changes

I refactor and update the Textplode gateway

Submission Review Guidelines:

  • I have performed a self-review of my code
  • If it is a core feature, I have added thorough tests.
  • Will this be part of a product update? If yes, please write one phrase about this update.
  • I have reviewed my code for security best practices.
  • Following the above guidelines will result in quick merges and clear and detailed feedback when appropriate.
  • My code follows the style guidelines of this project
  • I have updated the change-log in CHANGELOG.md.

Type of change

  • Fix - Fixes an existing bug
  • Add - Adds functionality
  • Update - Update existing functionality
  • Dev - Development related task
  • Tweak - A minor adjustment to the codebase
  • Performance - Address performance issues
  • Enhancement - Improvement to existing functionality

Comment on lines +62 to +67
foreach ((array) $this->to as $number) {
$recipients[] = [
'phone_number' => $number,
'merge' => []
];
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggestion: Using array_map here would be more appropriate and maintain a cleaner approach.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants