diff --git a/src/Faker/Provider/Miscellaneous.php b/src/Faker/Provider/Miscellaneous.php index a20f167e84..f240f56cb7 100644 --- a/src/Faker/Provider/Miscellaneous.php +++ b/src/Faker/Provider/Miscellaneous.php @@ -129,7 +129,7 @@ public static function sha256() /** * @example 'fr_FR' */ - public function locale() + public static function locale() { return static::randomElement(static::$localeData); }