*/ class GitHookFactory extends Factory { protected $model = GitHook::class; public function definition(): array { return [ 'secret' => $this->faker->word(), 'events' => $this->faker->words(), 'actions' => $this->faker->words(), 'hook_id' => $this->faker->word(), 'hook_response' => $this->faker->words(), 'created_at' => Carbon::now(), 'updated_at' => Carbon::now(), 'site_id' => Site::factory(), 'source_control_id' => SourceControl::factory(), ]; } }