Skip to content
This repository was archived by the owner on Oct 8, 2024. It is now read-only.

Commit 9201031

Browse files
committed
🐛 Fixed faker bug
1 parent 2f330a6 commit 9201031

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

App/Database/Factories/Factory.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ public function __construct()
2020
// Just for demo purposes, str is assigned here
2121
// so you can use it in all your factories.
2222
$this->str = Str::class;
23+
$this->faker = \Faker\Factory::create();
2324
}
2425
}
2526

0 commit comments

Comments
 (0)