8000 minor #34603 [Intl] [Workflow] fixes English grammar typos (hhamon) · symfony/symfony@877376a · GitHub
[go: up one dir, main page]

Skip to content

Commit 877376a

Browse files
committed
minor #34603 [Intl] [Workflow] fixes English grammar typos (hhamon)
This PR was merged into the 4.3 branch. Discussion ---------- [Intl] [Workflow] fixes English grammar typos | Q | A | ------------- | --- | Branch? | 4.3 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | ~ | License | MIT | Doc PR | ~ Also related to #34604 Commits ------- 492e1b5 [Intl] [Workflow] fixes English grammar typos
2 parents 4daa83e + 492e1b5 commit 877376a

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

src/Symfony/Component/Intl/Countries.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public static function exists(string $country): bool
5555
/**
5656
* Gets the country name from alpha2 code.
5757
*
58-
* @throws MissingResourceException if the country code does not exists
58+
* @throws MissingResourceException if the country code does not exist
5959
*/
6060
public static function getName(string $country, string $displayLocale = null): string
6161
{

src/Symfony/Component/Intl/Currencies.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public static function exists(string $currency): bool
4646
}
4747

4848
/**
49-
* @throws MissingResourceException if the currency code does not exists
49+
* @throws MissingResourceException if the currency code does not exist
5050
*/
5151
public static function getName(string $currency, string $displayLocale = null): string
5252
{
@@ -78,7 +78,7 @@ public static function getNames(string $displayLocale = null): array
7878
}
7979

8080
/**
81-
* @throws MissingResourceException if the currency code does not exists
81+
* @throws MissingResourceException if the currency code does not exist
8282
*/
8383
public static function getSymbol(string $currency, string $displayLocale = null): string
8484
{
@@ -115,7 +115,7 @@ public static function getNumericCode(string $currency): int
115115
}
116116

117117
/**
118-
* @throws MissingResourceException if the numeric code does not exists
118+
* @throws MissingResourceException if the numeric code does not exist
119119
*/
120120
public static function forNumericCode(int $numericCode): array
121121
{

src/Symfony/Component/Intl/Languages.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public static function exists(string $language): bool
5252
/**
5353
* Gets the language name from alpha2 code.
5454
*
55-
* @throws MissingResourceException if the language code does not exists
55+
* @throws MissingResourceException if the language code does not exist
5656
*/
5757
public static function getName(string $language, string $displayLocale = null): string
5858
{

src/Symfony/Component/Intl/Locales.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public static function exists(string $locale): bool
4949
}
5050

5151
/**
52-
* @throws MissingResourceException if the locale does not exists
52+
* @throws MissingResourceException if the locale does not exist
5353
*/
5454
public static function getName(string $locale, string $displayLocale = null): string
5555
{

src/Symfony/Component/Intl/Scripts.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public static function exists(string $script): bool
4141
}
4242

4343
/**
44-
* @throws MissingResourceException if the script code does not exists
44+
* @throws MissingResourceException if the script code does not exist
4545
*/
4646
public static function getName(string $script, string $displayLocale = null): string
4747
{

src/Symfony/Component/Workflow/MarkingStore/MethodMarkingStore.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public function getMarking($subject)
5151
$method = 'get'.ucfirst($this->property);
5252

5353
if (!method_exists($subject, $method)) {
54-
throw new LogicException(sprintf('The method "%s::%s()" does not exists.', \get_class($subject), $method));
54+
throw new LogicException(sprintf('The method "%s::%s()" does not exist.', \get_class($subject), $method));
5555
}
5656

5757
$marking = $subject->{$method}();
@@ -81,7 +81,7 @@ public function setMarking($subject, Marking $marking, array $context = [])
8181
$method = 'set'.ucfirst($this->property);
8282

8383
if (!method_exists($subject, $method)) {
84-
throw new LogicException(sprintf('The method "%s::%s()" does not exists.', \get_class($subject), $method));
84+
throw new LogicException(sprintf('The method "%s::%s()" does not exist.', \get_class($subject), $method));
8585
}
8686

8787
$subject->{$method}($marking, $context);

0 commit comments

Comments
 (0)
0