8000 Merge branch '6.4' into 7.0 · symfonyaml/symfony@73fb4ad · GitHub
[go: up one dir, main page]

Skip to content

Commit 73fb4ad

Browse files
committed
Merge branch '6.4' into 7.0
* 6.4: Remove obsolete PHP version checks
2 parents 8f85593 + 4f4ae19 commit 73fb4ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/Validator/Tests/ConstraintValidatorTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ class ConstraintValidatorTest extends TestCase
2121
/**
2222
* @dataProvider formatValueProvider
2323
*/
24-
public function testFormatValue($expected, $value, $format = 0)
24+
public function testFormatValue(string $expected, mixed $value, int $format = 0)
2525
{
2626
\Locale::setDefault('en');
2727

2828
$this->assertSame($expected, (new TestFormatValueConstraintValidator())->formatValueProxy($value, $format));
2929
}
3030

31-
public static function formatValueProvider()
31+
public static function formatValueProvider(): array
3232
{
3333
$defaultTimezone = date_default_timezone_get();
3434
date_default_timezone_set('Europe/Moscow'); // GMT+3

0 commit comments

Comments
 (0)
0