Skip to content

Commit

Permalink
Merge pull request #1645 from solomon-ochepa/patch-21
Browse files Browse the repository at this point in the history
Update factory.stub
  • Loading branch information
dcblogdev authored Oct 22, 2023
2 parents 6590b77 + 55837ef commit 885a06c
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/Commands/stubs/factory.stub
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,15 @@ class $NAME$Factory extends Factory
{
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = \$MODEL_NAMESPACE$\$NAME$::class;

/**
* Define the model's default state.
*
* @return array
*/
public function definition()
public function definition(): array
{
return [
//
];
return [];
}
}

0 comments on commit 885a06c

Please sign in to comment.