@@ -21,7 +21,7 @@ |
||
| 21 | 21 | /* |
| 22 | 22 | * Database - Migrations, Factories and Seeders |
| 23 | 23 | */ |
| 24 | - if (! class_exists('CreatePayrollTable')) { |
|
| 24 | + if (!class_exists('CreatePayrollTable')) { |
|
| 25 | 25 | $this->publishes([ |
| 26 | 26 | __DIR__ . '/../database/factories/' => database_path('factories/'), |
| 27 | 27 | __DIR__ . '/../database/migrations/create_payroll_table.php.stub' => database_path('migrations/' . date('Y_m_d_His', time()) . '_create_payroll_table.php'), |
@@ -31,7 +31,7 @@ |
||
| 31 | 31 | ]); |
| 32 | 32 | |
| 33 | 33 | $user->phones()->create([ |
| 34 | - 'phone_type_id' => $this->faker->randomElement([1, 2]), |
|
| 34 | + 'phone_type_id' => $this->faker->randomElement([ 1, 2 ]), |
|
| 35 | 35 | 'phone_number' => $this->faker->phoneNumber, |
| 36 | 36 | 'is_default' => true, |
| 37 | 37 | ]); |