'required', 'default' => false, 'rules' => ['required' => 'present|boolean'], 'label' => 'Erforderlich'], ['key' => 'max_today', 'default' => false, 'rules' => ['required' => 'present|boolean'], 'label' => 'Nur daten bis heute erlauben'], ]; } public static function default(): string { return ''; } public static function fake(Generator $faker): array { return [ 'required' => $faker->boolean(), 'max_today' => $faker->boolean(), ]; } }