Upgrade to 3.7.0
This commit is contained in:
16
kirby/src/Toolkit/I18n.php
Normal file → Executable file
16
kirby/src/Toolkit/I18n.php
Normal file → Executable file
@@ -52,22 +52,6 @@ class I18n
|
||||
*/
|
||||
protected static $decimalsFormatters = [];
|
||||
|
||||
/**
|
||||
* Returns the first fallback locale
|
||||
*
|
||||
* @deprecated 3.5.1 Use `\Kirby\Toolkit\I18n::fallbacks()` instead
|
||||
* @todo Remove in 3.7.0
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public static function fallback(): string
|
||||
{
|
||||
// @codeCoverageIgnoreStart
|
||||
deprecated('I18n::fallback() has been deprecated. Use I18n::fallbacks() instead.');
|
||||
return static::fallbacks()[0];
|
||||
// @codeCoverageIgnoreEnd
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the list of fallback locales
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user