Files
librenms-librenms/database/factories/DeviceGroupFactory.php
Jellyfrog 071ca9bc2a Apply fixes from StyleCI (#15698)
Co-authored-by: StyleCI Bot <bot@styleci.io>
2024-01-04 22:39:12 -06:00

25 lines
495 B
PHP

<?php
namespace Database\Factories;
use App\Models\DeviceGroup;
use Illuminate\Database\Eloquent\Factories\Factory;
/** @extends Factory<DeviceGroup> */
class DeviceGroupFactory extends Factory
{
/**
* Define the model's default state.
*
* @return array
*/
public function definition(): array
{
return [
'name' => $this->faker->domainWord(),
'desc' => $this->faker->text(255),
'type' => 'static',
];
}
}