Upgrade to 3.7.0

This commit is contained in:
Bastian Allgeier
2022-06-27 10:02:22 +02:00
parent 0751a6510d
commit 1c22148d7b
674 changed files with 5052 additions and 3082 deletions

16
kirby/src/Toolkit/I18n.php Normal file → Executable file
View 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
*