Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e94e473

Browse filesBrowse files
committed
remove useless sprintf
1 parent aee9d51 commit e94e473
Copy full SHA for e94e473

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎src/Symfony/Component/Mime/Email.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Mime/Email.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ public function addFrom(...$addresses)
122122
public function from(...$addresses)
123123
{
124124
if (!$addresses) {
125-
throw new LogicException(sprintf('"from()" must be called with at least one address.'));
125+
throw new LogicException('"from()" must be called with at least one address.');
126126
}
127127

128128
return $this->setListAddressHeaderBody('From', $addresses);

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.