Skip to content

Commit

Permalink
hotfix.
Browse files Browse the repository at this point in the history
  • Loading branch information
Saifallak committed Dec 29, 2024
1 parent 7cc8186 commit d66023d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Cloudwa.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@ public function phone(array|string $phone): static
return $this;
}

public function templateParameters(array|string $templateParameters): static
public function templateParameters(array|null $templateParameters): static
{
$this->templateParameters = array_merge($this->templateParameters ?? [], Arr::wrap($templateParameters));
$this->templateParameters = array_merge($this->templateParameters ?? [], Arr::wrap(($templateParameters ?? [])));

return $this;
}
Expand Down

0 comments on commit d66023d

Please sign in to comment.