Typos, Bugfixes and explicit response for organization show page

This commit is contained in:
Constantin Graf
2024-04-21 22:15:11 +02:00
committed by Constantin Graf
parent 2acef6a997
commit 5e979db912
9 changed files with 83 additions and 31 deletions

View File

@@ -27,8 +27,9 @@ use Laravel\Jetstream\Team as JetstreamTeam;
* @property User $owner
* @property Carbon|null $created_at
* @property Carbon|null $updated_at
* @property Collection<User> $users
* @property Collection<string, User> $realUsers
* @property Collection<int, User> $users
* @property Collection<int, User> $realUsers
* @property-read Collection<int, OrganizationInvitation> $teamInvitations
* @property Membership $membership
*
* @method HasMany<OrganizationInvitation> teamInvitations()
@@ -83,7 +84,7 @@ class Organization extends JetstreamTeam
/**
* Get all the non-placeholder users of the organization including its owner.
*
* @return Collection<string, User>
* @return Collection<int, User>
*/
public function allRealUsers(): Collection
{