10000 Revert fabbot false positives · symfony/symfony@77585c7 · GitHub
[go: up one dir, main page]

Skip to content

Commit 77585c7

Browse files
committed
Revert fabbot false positives
1 parent fb98c88 commit 77585c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/Notifier/Notifier.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,10 @@ private function getChannels(Notification $notification, RecipientInterface $rec
7373
$errorPrefix = sprintf('Unable to determine which channels to use to send the "%s" notification', \get_class($notification));
7474
$error = 'you should either pass channels in the constructor, override its "getChannels()" method';
7575
if (null === $this->policy) {
76-
throw new LogicException(sprintf('"%s"; "%s", or configure a "%s".', $errorPrefix, $error, ChannelPolicy::class));
76+
throw new LogicException(sprintf('%s; %s, or configure a "%s".', $errorPrefix, $error, ChannelPolicy::class));
7777
}
7878
if (!$channels = $this->policy->getChannels($notification->getImportance())) {
79-
throw new LogicException(sprintf('"%s"; the "%s" returns no channels for importance "%s"; "%s".', $errorPrefix, ChannelPolicy::class, $notification->getImportance(), $error));
79+
throw new LogicException(sprintf('%s; the "%s" returns no channels for importance "%s"; %s.', $errorPrefix, ChannelPolicy::class, $notification->getImportance(), $error));
8080
}
8181
}
8282

0 commit comments

Comments
 (0)
0