Skip to content

Commit 5490c4c

Browse files
committed
fix: Add ReturnTypeWillChange to jsonSerialize to fix 2.4.5 compile issue
1 parent 1e0f649 commit 5490c4c

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

Location/Address/BusinessHour/Day.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ public function getComment(): string
4545
return (string)__($this->comment);
4646
}
4747

48+
#[\ReturnTypeWillChange]
4849
public function jsonSerialize(): mixed
4950
{
5051
return [

Location/Address/BusinessHour/DayPart.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ public function getClosingHour(): string
2929
return $this->closingHour;
3030
}
3131

32+
#[\ReturnTypeWillChange]
3233
public function jsonSerialize(): mixed
3334
{
3435
return [

Location/Address/BusinessHours.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ public function getDays(): array
4040
return $this->days;
4141
}
4242

43+
#[\ReturnTypeWillChange]
4344
public function jsonSerialize(): mixed
4445
{
4546
return [

0 commit comments

Comments
 (0)