Skip to content

Commit

Permalink
refactor: update stub
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohammad-Alavi committed Dec 15, 2023
1 parent ed7b717 commit 06bdcea
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions Generator/Stubs/factory.stub
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,9 @@ use App\Ship\Parents\Factories\Factory as ParentFactory;
*/
class {{class-name}} extends ParentFactory
{
/**
* The name of the factory's corresponding model.
*
* @var class-string<TModel>
*/
/** @var class-string<TModel> */
protected $model = {{model}}::class;

/**
* Define the model's default state.
*
* @return array<string, mixed>
*/
public function definition(): array
{
return [
Expand Down

0 comments on commit 06bdcea

Please sign in to comment.