updated-packages
This commit is contained in:
4
vendor/symfony/translation/Interval.php
vendored
4
vendor/symfony/translation/Interval.php
vendored
@@ -11,7 +11,7 @@
|
||||
|
||||
namespace Symfony\Component\Translation;
|
||||
|
||||
@trigger_error(sprintf('The "%s" class is deprecated since Symfony 4.2, use IdentityTranslator instead.', Interval::class), E_USER_DEPRECATED);
|
||||
@trigger_error(sprintf('The "%s" class is deprecated since Symfony 4.2, use IdentityTranslator instead.', Interval::class), \E_USER_DEPRECATED);
|
||||
|
||||
use Symfony\Component\Translation\Exception\InvalidArgumentException;
|
||||
|
||||
@@ -99,7 +99,7 @@ class Interval
|
||||
EOF;
|
||||
}
|
||||
|
||||
private static function convertNumber($number)
|
||||
private static function convertNumber(string $number): float
|
||||
{
|
||||
if ('-Inf' === $number) {
|
||||
return log(0);
|
||||
|
Reference in New Issue
Block a user