Skip to content

Commit

Permalink
rename organizers to uiTdatabankOrganizers
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasVHG committed Aug 5, 2024
1 parent 29c976b commit 83d4a8b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions app/Domain/Integrations/Integration.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ final class Integration
private ?Organization $organization;

/** @var array<UiTdatabankOrganizer> */
private array $organizers;
private array $uiTdatabankOrganizers;

/** @var array<UiTiDv1Consumer> */
private array $uiTiDv1Consumers;
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
}

Expand Down Expand Up @@ -182,7 +182,7 @@ public function organization(): ?Organization
*/
public function organizers(): array
{
return $this->organizers;
return $this->uiTdatabankOrganizers;
}

/** @return array<UiTiDv1Consumer> */
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 83d4a8b

Please sign in to comment.