mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-23 11:43:47 -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()
|
public function component()
|
||||||
{
|
{
|
||||||
return $this->state(function (array $attributes) {
|
return $this->state(function (array $attributes) {
|
||||||
$fileBuilder = Importing\ComponentsImportFileBuilder::times();
|
$fileBuilder = Importing\ComponentsImportFileBuilder::new();
|
||||||
|
|
||||||
$attributes['name'] = "{$attributes['name']} Components";
|
$attributes['name'] = "{$attributes['name']} Components";
|
||||||
$attributes['import_type'] = 'component';
|
$attributes['import_type'] = 'component';
|
||||||
|
|
Loading…
Reference in a new issue