Skip to content

Commit

Permalink
cs fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-stanek committed Oct 11, 2024
1 parent dce7f54 commit 7cdce15
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/Services/SkautIsService.php
Original file line number Diff line number Diff line change
Expand Up @@ -216,12 +216,13 @@ public function getValidMembership(int $personId): stdClass|null
$membershipsArray = $memberships->MembershipAllOutput instanceof stdClass ? [$memberships->MembershipAllOutput] : $memberships->MembershipAllOutput;

foreach ($membershipsArray as $membership) {
if ($membership->ID_MembershipType === "radne") {
if ($membership->ID_MembershipType === 'radne') {
return $membership;
}
}

foreach ($membershipsArray as $membership) {
if ($membership->ID_MembershipType === "cestne") {
if ($membership->ID_MembershipType === 'cestne') {
return $membership;
}
}
Expand Down

0 comments on commit 7cdce15

Please sign in to comment.