mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-12 16:44:08 -08:00
Use new() instead of times()
This commit is contained in:
parent
b5ffe54bd0
commit
bde05d6ed9
|
@ -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…
Reference in a new issue