diff --git a/src/MailEclipse.php b/src/MailEclipse.php index 495caf7..9c0ccd1 100644 --- a/src/MailEclipse.php +++ b/src/MailEclipse.php @@ -934,7 +934,7 @@ private static function resolveFactory($eloquentFactory, $model): ?object return $model::factory()->make(); } - $action = sprintf('php artisan make:factory %sFactory --model=%s', Str::of($model)->afterLast("\\"), $model); + $action = sprintf('php artisan make:factory %sFactory --model=%s', Str::of($model)->afterLast('\\'), $model); throw new \Exception("No Factory found, maileclipse.factory config is true. But there is no Factory. Create using $action"); }