Skip to content

Commit dd54ecf

Browse files
committed
model accessors must be protected
1 parent a7ae6d3 commit dd54ecf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/hallway-core/src/Calendar/Models/Gathering.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@ class Gathering extends Model
2424

2525
protected string $state_class = GatheringState::class;
2626

27-
public function day(): Attribute
27+
protected function day(): Attribute
2828
{
2929
return Attribute::make(
3030
get: fn () => $this->start->format('Y-m-d'),
3131
);
3232
}
3333

34-
public function month(): Attribute
34+
protected function month(): Attribute
3535
{
3636
return Attribute::make(
3737
get: fn () => $this->start->format('Y-m'),

0 commit comments

Comments
 (0)