Added time entry api endpoints; Increased phpstan level; renamed to solidtime

This commit is contained in:
Constantin Graf
2024-02-26 14:27:12 +01:00
parent e60e502612
commit 9c5a238dda
36 changed files with 1716 additions and 461 deletions

View File

@@ -36,6 +36,8 @@ class OrganizationInvitation extends JetstreamTeamInvitation
/**
* Get the organization that the invitation belongs to.
*
* @return BelongsTo<Organization, OrganizationInvitation>
*/
public function organization(): BelongsTo
{
@@ -44,6 +46,8 @@ class OrganizationInvitation extends JetstreamTeamInvitation
/**
* Get the organization that the invitation belongs to.
*
* @return BelongsTo<Organization, OrganizationInvitation>
*/
public function team(): BelongsTo
{

View File

@@ -19,9 +19,13 @@ use Illuminate\Support\Carbon;
* @property Carbon|null $end
* @property bool $billable
* @property array $tags
* @property string $user_id
* @property-read User $user
* @property string $organization_id
* @property-read Organization $organization
* @property string|null $project_id
* @property-read Project|null $project
* @property string|null $task_id
* @property-read Task|null $task
*
* @method static TimeEntryFactory factory()