mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-10-14 16:53:17 +01:00
Moving a running time entry to another member could give that member's user a second running time entry. Stopping the time entry and changing the member in the same request is still allowed.
16 lines
303 B
PHP
16 lines
303 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Exceptions\Api;
|
|
|
|
class TimeEntryMemberCanNotBeChangedWhileRunningApiException extends ApiException
|
|
{
|
|
public const string KEY = 'time_entry_member_can_not_be_changed_while_running';
|
|
|
|
public function report(): bool
|
|
{
|
|
return true;
|
|
}
|
|
}
|