Skip to content

Commit 8afd1d8

Browse files
committed
Dont use interface
1 parent 7fe473a commit 8afd1d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Provider/sv_SE/Person.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ class Person extends \Faker\Provider\Person
125125
*
126126
* @return string on format XXXXXX-XXXX or XXXXXXXX-XXXX depending on $withCentury value
127127
*/
128-
public function personalIdentityNumber(\DateTimeInterface $birthdate = null, $gender = null, $withCentury = false)
128+
public function personalIdentityNumber(\DateTime $birthdate = null, $gender = null, $withCentury = false)
129129
{
130130
if (!$birthdate) {
131131
$birthdate = \Faker\Provider\DateTime::dateTimeThisCentury();

0 commit comments

Comments
 (0)