Skip to content

Commit

Permalink
FactionPermission: remove keys before serializing
Browse files Browse the repository at this point in the history
  • Loading branch information
Aericio committed Sep 5, 2020
1 parent 8c8803f commit fd7eafb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,6 @@ public function removeHolder(string $holder): void

public function jsonSerialize(): array
{
return $this->holders;
return array_values($this->holders);
}
}

0 comments on commit fd7eafb

Please sign in to comment.