Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/feature/fix-add-memeber-to-akade…
Browse files Browse the repository at this point in the history
…my' into feature/tailwind-redesign
  • Loading branch information
Rayvented committed Nov 23, 2023
2 parents 12f359b + 1b484a7 commit 8c564ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Entity/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class User implements UserInterface
private Collection $vVTDsfas;

#[ORM\ManyToOne(targetEntity: Team::class, inversedBy: 'akademieUsers')]
private ?Team $akademieUser;
private ?Team $akademieUser = null;

#[ORM\ManyToMany(targetEntity: Team::class, mappedBy: 'admins')]
private $adminRoles;
Expand Down Expand Up @@ -319,7 +319,7 @@ public function removeVVTDsfa(VVTDsfa $vVTDsfa): self
return $this;
}

public function getAkademieUser(): ?Team
public function getAkademieUser(): ?Team
{
return $this->akademieUser;
}
Expand Down

0 comments on commit 8c564ff

Please sign in to comment.