Skip to content

Commit

Permalink
Allow array as value
Browse files Browse the repository at this point in the history
  • Loading branch information
riasvdv committed May 2, 2024
1 parent d4cefe5 commit 814cdd0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -20,7 +20,7 @@
"php": "^8.1",
"illuminate/contracts": "^9.42|^10.0|^11.0",
"spatie/laravel-package-tools": "^1.13.7",
"spatie/mailcoach-mailer": "^1.1"
"spatie/mailcoach-mailer": "^1.2"
},
"require-dev": {
"laravel/pint": "^1.2.1",
Expand Down
2 changes: 1 addition & 1 deletion src/Concerns/UsesMailcoachMail.php
Expand Up @@ -53,7 +53,7 @@ public function usingMailer(?string $mailer): self
return $this;
}

public function replacing(array|string $key, ?string $value = null): self
public function replacing(array|string $key, string|array|null $value = null): self
{
if (is_array($key)) {
foreach ($key as $realKey => $value) {
Expand Down

0 comments on commit 814cdd0

Please sign in to comment.