Skip to content

Commit 4a18dd8

Browse files
committed
fix
1 parent 1a5485e commit 4a18dd8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Symfony/Component/Notifier/Bridge/MicrosoftTeams/Action/OpenUriAction.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function name(string $name): self
4040
public function target(string $uri, string $os = 'default'): self
4141
{
4242
if (!\in_array($os, self::OPERATING_SYSTEMS)) {
43-
throw new InvalidArgumentException(sprintf('Supported operating systems for %s::target() method are: "%s"', __CLASS__, implode('", "', self::OPERATING_SYSTEMS)));
43+
throw new InvalidArgumentException(sprintf('Supported operating systems for "%s" method are: "%s".', __METHOD__, implode('", "', self::OPERATING_SYSTEMS)));
4444
}
4545

4646
$this->options['targets'][] = ['os' => $os, 'uri' => $uri];

src/Symfony/Component/Notifier/Bridge/MicrosoftTeams/Input/MultiChoiceInput.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public function isMultiSelect(bool $multiSelect): self
4343
public function style(string $style): self
4444
{
4545
if (!\in_array($style, self::STYLES)) {
46-
throw new InvalidArgumentException(sprintf('Supported styles for %s::style() method are: "%s"', __CLASS__, implode('", "', self::STYLES)));
46+
throw new InvalidArgumentException(sprintf('Supported styles for "%s" method are: "%s".', __METHOD__, implode('", "', self::STYLES)));
4747
}
4848

4949
$this->options['style'] = $style;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy