[Intl] [Workflow] fixes English grammar typos
This commit is contained in:
parent
cc400f867e
commit
492e1b5afd
@ -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
|
||||
{
|
||||
|
@ -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
|
||||
{
|
||||
|
@ -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
|
||||
{
|
||||
|
@ -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
|
||||
{
|
||||
|
@ -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
|
||||
{
|
||||
|
@ -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);
|
||||
|
Reference in New Issue
Block a user