Skip to content

Commit

Permalink
rename withOrganizers to withUiTdatabankOrganizers
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasVHG committed Aug 5, 2024
1 parent 8d1edc7 commit 29c976b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/Domain/Integrations/Integration.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public function withKeycloakClients(KeycloakClient ...$keycloakClients): self
return $clone;
}

public function withOrganizers(UiTdatabankOrganizer ...$organizers): self
public function withUiTdatabankOrganizers(UiTdatabankOrganizer ...$organizers): self
{
$clone = clone $this;
$clone->organizers = $organizers;
Expand Down
2 changes: 1 addition & 1 deletion app/Domain/Integrations/Models/IntegrationModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ public function toDomain(): Integration
->get()
->map(fn (KeycloakClientModel $keycloakClientModel) => $keycloakClientModel->toDomain())
->toArray()
)->withOrganizers(
)->withUiTdatabankOrganizers(
...$this->organizers()
->get()
->map(fn (UiTdatabankOrganizerModel $organizerModel) => $organizerModel->toDomain())
Expand Down

0 comments on commit 29c976b

Please sign in to comment.