namespaces refactoring part 2

This commit is contained in:
Peter Papp
2021-07-18 18:05:33 +02:00
parent 8f77a497b5
commit 54dc57fcbf
107 changed files with 310 additions and 279 deletions

View File

@@ -1,10 +1,9 @@
<?php
namespace Database\Factories;
use Domain\Settings\Models\User;
use Illuminate\Database\Eloquent\Factories\Factory;
use App\Users\Models\User;
use Illuminate\Support\Str;
use Illuminate\Database\Eloquent\Factories\Factory;
class UserFactory extends Factory
{
@@ -31,7 +30,9 @@ class UserFactory extends Factory
'password' => bcrypt('secret'),
'remember_token' => Str::random(10),
'created_at' => $this->faker->dateTimeBetween(
$startDate = '-36 months', $endDate = 'now', $timezone = null
$startDate = '-36 months',
$endDate = 'now',
$timezone = null
),
];
}