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 aee9d51 commit e94e473Copy full SHA for e94e473
src/Symfony/Component/Mime/Email.php
@@ -122,7 +122,7 @@ public function addFrom(...$addresses)
122
public function from(...$addresses)
123
{
124
if (!$addresses) {
125
- throw new LogicException(sprintf('"from()" must be called with at least one address.'));
+ throw new LogicException('"from()" must be called with at least one address.');
126
}
127
128
return $this->setListAddressHeaderBody('From', $addresses);
0 commit comments