### Laravel Version 11.x ### PHP Version 8.3.4 ### Database Driver & Version _No response_ ### Description As [#53104](https://github.com/laravel/framework/pull/53104#issue-2579394408) discussed, it removes `HasFactory` if we are not generating a factory at all. But `HasFactory` didn't include in Model when use the command make:model --all or -a command ```php php artisan make:model Post -a ``` output ```php namespace App\Models; use Illuminate\Database\Eloquent\Model; class Post extends Model { // } ``` command ```php php artisan make:model Message --all ``` output ```php namespace App\Models; use Illuminate\Database\Eloquent\Model; class Message extends Model { // } ``` ### Steps To Reproduce 1. ```php php artisan make:model Post -a ``` or ```php php artisan make:model Post --all ```