Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Alexandre Daubois <2144837+alexandre-daubois@users.noreply.github.com>
  • Loading branch information
xepozz and alexandre-daubois committed Jan 10, 2023
1 parent b1d1d47 commit d9359b0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public function getValidTimes()
/**
* @dataProvider getValidTimesWithoutSeconds
*/
public function testValidTimesWithoutSeconds($time)
public function testValidTimesWithoutSeconds(string $time)
{
$this->validator->validate($time, new Time([
'withSeconds' => false,
Expand All @@ -94,7 +94,7 @@ public function getValidTimesWithoutSeconds()
/**
* @dataProvider getInvalidTimesWithoutSeconds
*/
public function testInvalidTimesWithoutSeconds($time)
public function testInvalidTimesWithoutSeconds(string $time)
{
$this->validator->validate($time, $constraint = new Time());

Expand Down

0 comments on commit d9359b0

Please sign in to comment.