From 83d4a8b487c94411056aa52de0798d3372d596c2 Mon Sep 17 00:00:00 2001 From: JonasVHG <4658984+JonasVHG@users.noreply.github.com> Date: Mon, 5 Aug 2024 16:30:35 +0200 Subject: [PATCH] rename organizers to uiTdatabankOrganizers --- app/Domain/Integrations/Integration.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/Domain/Integrations/Integration.php b/app/Domain/Integrations/Integration.php index 76b0821d8..9c8882608 100644 --- a/app/Domain/Integrations/Integration.php +++ b/app/Domain/Integrations/Integration.php @@ -32,7 +32,7 @@ final class Integration private ?Organization $organization; /** @var array */ - private array $organizers; + private array $uiTdatabankOrganizers; /** @var array */ private array $uiTiDv1Consumers; @@ -60,7 +60,7 @@ public function __construct( $this->uiTiDv1Consumers = []; $this->auth0Clients = []; $this->keycloakClients = []; - $this->organizers = []; + $this->uiTdatabankOrganizers = []; $this->organization = null; $this->keyVisibility = KeyVisibility::v2; $this->keyVisibilityUpgrade = null; @@ -129,7 +129,7 @@ public function withKeycloakClients(KeycloakClient ...$keycloakClients): self public function withUiTdatabankOrganizers(UiTdatabankOrganizer ...$organizers): self { $clone = clone $this; - $clone->organizers = $organizers; + $clone->uiTdatabankOrganizers = $organizers; return $clone; } @@ -182,7 +182,7 @@ public function organization(): ?Organization */ public function organizers(): array { - return $this->organizers; + return $this->uiTdatabankOrganizers; } /** @return array */ @@ -245,7 +245,7 @@ public function toArray(): array 'contacts' => $this->contacts, 'urls' => $this->urls, 'organization' => $this->organization, - 'organizers' => $this->organizers, + 'organizers' => $this->uiTdatabankOrganizers, 'authClients' => $this->auth0Clients, 'legacyAuthConsumers' => $this->uiTiDv1Consumers, 'keycloakClients' => $this->keycloakClients,