Setup pint & run code style fix

This commit is contained in:
gdarko
2024-01-29 04:46:01 -06:00
parent 8de34efd8c
commit 4ab92473e9
406 changed files with 1616 additions and 2026 deletions

View File

@@ -2,9 +2,9 @@
namespace Database\Factories;
use Illuminate\Database\Eloquent\Factories\Factory;
use InvoiceShelf\Models\CustomField;
use InvoiceShelf\Models\User;
use Illuminate\Database\Eloquent\Factories\Factory;
class CustomFieldFactory extends Factory
{
@@ -31,7 +31,7 @@ class CustomFieldFactory extends Factory
'slug' => function (array $item) {
return clean_slug($item['model_type'], $item['label']);
},
'type' => $this->faker->randomElement(['Text', 'Textarea', 'Phone', 'URL', 'Number','Dropdown' , 'Switch', 'Date', 'DateTime', 'Time']),
'type' => $this->faker->randomElement(['Text', 'Textarea', 'Phone', 'URL', 'Number', 'Dropdown', 'Switch', 'Date', 'DateTime', 'Time']),
'company_id' => User::find(1)->companies()->first()->id,
];
}