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

492e1b5afd [Intl] [Workflow] fixes English grammar typos
This commit is contained in:
Fabien Potencier 2019-11-26 04:45:55 +01:00
commit 877376a8b3
6 changed files with 9 additions and 9 deletions

View File

@ -55,7 +55,7 @@ final class Countries extends ResourceBundle
/**
* Gets the country name from alpha2 code.
*
* @throws MissingResourceException if the country code does not exists
* @throws MissingResourceException if the country code does not exist
*/
public static function getName(string $country, string $displayLocale = null): string
{

View File

@ -46,7 +46,7 @@ final class Currencies extends ResourceBundle
}
/**
* @throws MissingResourceException if the currency code does not exists
* @throws MissingResourceException if the currency code does not exist
*/
public static function getName(string $currency, string $displayLocale = null): string
{
@ -78,7 +78,7 @@ final class Currencies extends ResourceBundle
}
/**
* @throws MissingResourceException if the currency code does not exists
* @throws MissingResourceException if the currency code does not exist
*/
public static function getSymbol(string $currency, string $displayLocale = null): string
{
@ -115,7 +115,7 @@ final class Currencies extends ResourceBundle
}
/**
* @throws MissingResourceException if the numeric code does not exists
* @throws MissingResourceException if the numeric code does not exist
*/
public static function forNumericCode(int $numericCode): array
{

View File

@ -52,7 +52,7 @@ final class Languages extends ResourceBundle
/**
* Gets the language name from alpha2 code.
*
* @throws MissingResourceException if the language code does not exists
* @throws MissingResourceException if the language code does not exist
*/
public static function getName(string $language, string $displayLocale = null): string
{

View File

@ -49,7 +49,7 @@ final class Locales extends ResourceBundle
}
/**
* @throws MissingResourceException if the locale does not exists
* @throws MissingResourceException if the locale does not exist
*/
public static function getName(string $locale, string $displayLocale = null): string
{

View File

@ -41,7 +41,7 @@ final class Scripts extends ResourceBundle
}
/**
* @throws MissingResourceException if the script code does not exists
* @throws MissingResourceException if the script code does not exist
*/
public static function getName(string $script, string $displayLocale = null): string
{

View File

@ -51,7 +51,7 @@ final class MethodMarkingStore implements MarkingStoreInterface
$method = 'get'.ucfirst($this->property);
if (!method_exists($subject, $method)) {
throw new LogicException(sprintf('The method "%s::%s()" does not exists.', \get_class($subject), $method));
throw new LogicException(sprintf('The method "%s::%s()" does not exist.', \get_class($subject), $method));
}
$marking = $subject->{$method}();
@ -81,7 +81,7 @@ final class MethodMarkingStore implements MarkingStoreInterface
$method = 'set'.ucfirst($this->property);
if (!method_exists($subject, $method)) {
throw new LogicException(sprintf('The method "%s::%s()" does not exists.', \get_class($subject), $method));
throw new LogicException(sprintf('The method "%s::%s()" does not exist.', \get_class($subject), $method));
}
$subject->{$method}($marking, $context);