update patch 1
This commit is contained in:
+1
-1
@@ -66,7 +66,7 @@ class DataPart extends TextPart
|
||||
public function setContentId(string $cid): static
|
||||
{
|
||||
if (!str_contains($cid, '@')) {
|
||||
throw new InvalidArgumentException(sprintf('Invalid cid "%s".', $cid));
|
||||
throw new InvalidArgumentException(\sprintf('The "%s" CID is invalid as it doesn\'t contain an "@".', $cid));
|
||||
}
|
||||
|
||||
$this->cid = $cid;
|
||||
|
||||
Reference in New Issue
Block a user