8000 Apply suggestions from code review · symfony/symfony@d9359b0 · GitHub
[go: up one dir, main page]

Skip to content

Commit d9359b0

Browse files
Apply suggestions from code review
Co-authored-by: Alexandre Daubois <2144837+alexandre-daubois@users.noreply.github.com>
1 parent b1d1d47 commit d9359b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/Validator/Tests/Constraints/TimeValidatorTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public function getValidTimes()
7272
/**
7373
* @dataProvider getValidTimesWithoutSeconds
7474
*/
75-
public function testValidTimesWithoutSeconds($time)
75+
public function testValidTimesWithoutSeconds(string $time)
7676
{
7777
$this->validator->validate($time, new Time([
7878
'withSeconds' => false,
@@ -94,7 +94,7 @@ public function getValidTimesWithoutSeconds()
9494
/**
9595
* @dataProvider getInvalidTimesWithoutSeconds
9696
*/
97-
public function testInvalidTimesWithoutSeconds($time)
97+
public function testInvalidTimesWithoutSeconds(string $time)
9898
{
9999
$this->validator->validate($time, $constraint = new Time());
100100

0 commit comments

Comments
 (0)
0