Use new() instead of times()

This commit is contained in:
Marcus Moore 2024-10-03 13:15:49 -07:00
parent b5ffe54bd0
commit bde05d6ed9
No known key found for this signature in database

View file

@ -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';