Skip to content

Commit a58cfb3

Browse files
committed
minor symfony#57859 [Notifier][Translation] fix some typos (withbest)
This PR was merged into the 7.2 branch. Discussion ---------- [Notifier][Translation] fix some typos | Q | A | ------------- | --- | Branch? | 7.2 | Bug fix? | yes | New feature? | no | Deprecations? | no | Issues | N/A | License | MIT Commits ------- 1c955b9 chore: fix some comments
2 parents 05e61ff + 1c955b9 commit a58cfb3

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/Symfony/Component/Notifier/Bridge/Sipgate/SipgateTransport.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ protected function doSend(MessageInterface $message): SentMessage
8585
} elseif (402 === $statusCode) {
8686
throw new TransportException(sprintf('Unable to send SMS with Sipgate: Error code %d - insufficient funds.', $statusCode), $response);
8787
} elseif (403 === $statusCode) {
88-
throw new TransportException(sprintf('Unable to send SMS with Sipgate: Error code %d - no permisssion to use sms feature or password must be reset or senderId is wrong.', $statusCode), $response);
88+
throw new TransportException(sprintf('Unable to send SMS with Sipgate: Error code %d - no permission to use sms feature or password must be reset or senderId is wrong.', $statusCode), $response);
8989
}
9090
throw new TransportException(sprintf('Unable to send SMS with Sipgate: Error code %d.', $statusCode), $response);
9191
}

src/Symfony/Component/Notifier/Bridge/Sipgate/Tests/SipgateTransportTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public static function errorProvider(): iterable
8989
yield [
9090
403,
9191
'',
92-
'Unable to send SMS with Sipgate: Error code 403 - no permisssion to use sms feature or password must be reset or senderId is wrong.',
92+
'Unable to send SMS with Sipgate: Error code 403 - no permission to use sms feature or password must be reset or senderId is wrong.',
9393
];
9494
yield [
9595
415,

src/Symfony/Component/Translation/Tests/Formatter/IntlFormatterTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,11 +93,11 @@ public static function provideDataForFormat()
9393
/**
9494
* @dataProvider percentAndBracketsAreTrimmedProvider
9595
*/
96-
public function testPercentsAndBracketsAreTrimmed(string $expected, string $message, array $paramters)
96+
public function testPercentsAndBracketsAreTrimmed(string $expected, string $message, array $parameters)
9797
{
9898
$formatter = new IntlFormatter();
9999
$this->assertInstanceof(IntlFormatterInterface::class, $formatter);
100-
$this->assertSame($expected, $formatter->formatIntl($message, 'en', $paramters));
100+
$this->assertSame($expected, $formatter->formatIntl($message, 'en', $parameters));
101101
}
102102

103103
public static function percentAndBracketsAreTrimmedProvider(): array

0 commit comments

Comments
 (0)