8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1d1d47 commit d9359b0Copy full SHA for d9359b0
src/Symfony/Component/Validator/Tests/Constraints/TimeValidatorTest.php
@@ -72,7 +72,7 @@ public function getValidTimes()
72
/**
73
* @dataProvider getValidTimesWithoutSeconds
74
*/
75
- public function testValidTimesWithoutSeconds($time)
+ public function testValidTimesWithoutSeconds(string $time)
76
{
77
$this->validator->validate($time, new Time([
78
'withSeconds' => false,
@@ -94,7 +94,7 @@ public function getValidTimesWithoutSeconds()
94
95
* @dataProvider getInvalidTimesWithoutSeconds
96
97
- public function testInvalidTimesWithoutSeconds($time)
+ public function testInvalidTimesWithoutSeconds(string $time)
98
99
$this->validator->validate($time, $constraint = new Time());
100
0 commit comments