Use new() instead of times()
This commit is contained in:
parent
b5ffe54bd0
commit
bde05d6ed9
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ class ImportFactory extends Factory
|
|||
public function component()
|
||||
{
|
||||
return $this->state(function (array $attributes) {
|
||||
$fileBuilder = Importing\ComponentsImportFileBuilder::times();
|
||||
$fileBuilder = Importing\ComponentsImportFileBuilder::new();
|
||||
|
||||
$attributes['name'] = "{$attributes['name']} Components";
|
||||
$attributes['import_type'] = 'component';
|
||||
|
|
Loading…
Add table
Reference in a new issue