*/ use HasFactory; /** * @return array */ protected function casts(): array { return [ 'api_token' => 'encrypted', 'provider' => GitProviderKey::class, ]; } public function user(): BelongsTo { return $this->belongsTo(User::class); } }