From a2cea84805f311be612fc36c403fcc6f90181ff4 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Sat, 12 Sep 2020 10:00:30 -0500 Subject: [PATCH] protect method --- src/Illuminate/Database/Eloquent/Factories/HasFactory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/Database/Eloquent/Factories/HasFactory.php b/src/Illuminate/Database/Eloquent/Factories/HasFactory.php index 7132b0659f92..7d2be22054e6 100644 --- a/src/Illuminate/Database/Eloquent/Factories/HasFactory.php +++ b/src/Illuminate/Database/Eloquent/Factories/HasFactory.php @@ -24,7 +24,7 @@ public static function factory(...$parameters) * * @return \Illuminate\Database\Eloquent\Factories\Factory */ - public static function newFactory() + protected static function newFactory() { // }