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 81411d6

Browse filesBrowse files
committed
fix formating exception
1 parent 3458950 commit 81411d6
Copy full SHA for 81411d6

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎src/Symfony/Component/Notifier/Notifier.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Notifier/Notifier.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,10 @@ private function getChannels(Notification $notification, RecipientInterface $rec
7272
$errorPrefix = sprintf('Unable to determine which channels to use to send the "%s" notification', \get_class($notification));
7373
$error = 'you should either pass channels in the constructor, override its "getChannels()" method';
7474
if (null === $this->policy) {
75-
throw new LogicException(sprintf('%s; %s, or configure a "%s".', $errorPrefix, $error, ChannelPolicy::class));
75+
throw new LogicException(sprintf('"%s"; "%s", or configure a "%s".', $errorPrefix, $error, ChannelPolicy::class));
7676
}
7777
if (!$channels = $this->policy->getChannels($notification->getImportance())) {
78-
throw new LogicException(sprintf('%s; the "%s" returns no channels for importance "%s"; %s.', $errorPrefix, ChannelPolicy::class, $notification->getImportance(), $error));
78+
throw new LogicException(sprintf('"%s"; the "%s" returns no channels for importance "%s"; "%s".', $errorPrefix, ChannelPolicy::class, $notification->getImportance(), $error));
7979
}
8080
}
8181

0 commit comments

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