Skip to content
This repository has been archived by the owner on Dec 11, 2020. It is now read-only.

Calling a non static method as static not allowed. #1696

Merged
merged 1 commit into from
Oct 9, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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