Skip to content

Commit

Permalink
Add missing void type hints
Browse files Browse the repository at this point in the history
  • Loading branch information
Robin de Rooij committed Feb 18, 2024
1 parent 9bdf4ba commit 562667b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Entity/Member.php
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ public function getCurrentMembershipStatus(): ?MembershipStatus {
return $this->currentMembershipStatus;
}

public function setCurrentMembershipStatus(?MembershipStatus $membershipStatus) {
public function setCurrentMembershipStatus(?MembershipStatus $membershipStatus): void {
$this->currentMembershipStatus = $membershipStatus;
}

Expand Down
2 changes: 1 addition & 1 deletion src/Entity/Membership/MembershipStatus.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public function getName(): string { return $this->name; }
public function setName(string $name): void { $this->name = $name; }

public function getAllowedAccess(): bool { return $this->allowedAccess; }
public function setAllowedAccess(bool $allowedAccess) { $this->allowedAccess = $allowedAccess; }
public function setAllowedAccess(bool $allowedAccess): void { $this->allowedAccess = $allowedAccess; }

public function getMembers(): Collection { return $this->members; }
}

0 comments on commit 562667b

Please sign in to comment.