🤖 Auto commit for release 'develop' on 2025-09-15

This commit is contained in:
JC5
2025-09-15 05:23:47 +02:00
parent 9075fa8ac8
commit de9efb0727
65 changed files with 416 additions and 408 deletions

View File

@@ -38,7 +38,7 @@ class RecurrenceRepetition extends Model
#[Deprecated]
/** @deprecated */
public const int WEEKEND_DO_NOTHING = 1;
public const int WEEKEND_DO_NOTHING = 1;
#[Deprecated]
/** @deprecated */
@@ -46,14 +46,14 @@ class RecurrenceRepetition extends Model
#[Deprecated]
/** @deprecated */
public const int WEEKEND_TO_FRIDAY = 3;
public const int WEEKEND_TO_FRIDAY = 3;
#[Deprecated]
/** @deprecated */
public const int WEEKEND_TO_MONDAY = 4;
public const int WEEKEND_TO_MONDAY = 4;
protected $casts
= [
= [
'created_at' => 'datetime',
'updated_at' => 'datetime',
'deleted_at' => 'datetime',
@@ -63,9 +63,9 @@ class RecurrenceRepetition extends Model
'weekend' => 'int',
];
protected $fillable = ['recurrence_id', 'weekend', 'repetition_type', 'repetition_moment', 'repetition_skip'];
protected $fillable = ['recurrence_id', 'weekend', 'repetition_type', 'repetition_moment', 'repetition_skip'];
protected $table = 'recurrences_repetitions';
protected $table = 'recurrences_repetitions';
public function recurrence(): BelongsTo
{
@@ -82,21 +82,21 @@ class RecurrenceRepetition extends Model
protected function recurrenceId(): Attribute
{
return Attribute::make(
get: static fn($value) => (int)$value,
get: static fn ($value) => (int)$value,
);
}
protected function repetitionSkip(): Attribute
{
return Attribute::make(
get: static fn($value) => (int)$value,
get: static fn ($value) => (int)$value,
);
}
protected function weekend(): Attribute
{
return Attribute::make(
get: static fn($value) => (int)$value,
get: static fn ($value) => (int)$value,
);
}
}