Skip to content

Commit

Permalink
#322 fix parameters format (#323)
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagolcks committed Aug 16, 2022
1 parent fcfa970 commit ea5a1c6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Messages/MessageObjects/TemplateObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,7 @@ public function toArray(): array
];

if ($this->parameters) {
$returnArray[] = [
'parameters' => $this->parameters
];
$returnArray['parameters'] = $this->parameters;
}

return $returnArray;
Expand Down

0 comments on commit ea5a1c6

Please sign in to comment.