Skip to content

Commit

Permalink
Calling a non static method as static not allowed. (fzaninotto#1696)
Browse files Browse the repository at this point in the history
  • Loading branch information
wilco-1985 authored and pimjansen committed Oct 9, 2019
1 parent 7319209 commit 300a564
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Faker/Provider/nl_NL/Person.php
Original file line number Diff line number Diff line change
Expand Up @@ -288,15 +288,15 @@ public function title($gender = null)
*/
public static function titleMale()
{
return static::title();
return static::randomElement(static::$title);
}

/**
* replaced by specific unisex dutch title
*/
public static function titleFemale()
{
return static::title();
return static::randomElement(static::$title);
}

/**
Expand Down

0 comments on commit 300a564

Please sign in to comment.