Restore enums, replace one to enforce php 8.1 compatibility.

This commit is contained in:
James Cole
2022-04-13 16:27:01 +02:00
parent 71d53fbda4
commit cfcf860438
7 changed files with 76 additions and 20 deletions

View File

@@ -62,6 +62,12 @@ use Illuminate\Support\Carbon;
*/
class RecurrenceRepetition extends Model
{
public const WEEKEND_DO_NOTHING = 1;
public const WEEKEND_SKIP_CREATION = 2;
public const WEEKEND_TO_FRIDAY = 3;
public const WEEKEND_TO_MONDAY = 4;
use SoftDeletes;
/**