We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0bb828f commit 26941b0Copy full SHA for 26941b0
src/Illuminate/Mail/Mailables/Envelope.php
@@ -364,6 +364,6 @@ public function hasSubject(string $subject)
364
*/
365
public function hasMetadata(string $key, string $value)
366
{
367
- return isset($this->metadata[$key]) && $this->metadata[$key] === $value;
+ return isset($this->metadata[$key]) && (string) $this->metadata[$key] === $value;
368
}
369
0 commit comments