Skip to content

Commit

Permalink
fix livewire
Browse files Browse the repository at this point in the history
  • Loading branch information
QuentinGab committed Sep 5, 2024
1 parent b2c57c9 commit 6571efd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/InvoiceDiscount.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public function jsonSerialize(): array
* percent_off: ?float,
* }
*/
public function toLivewire(): array
public function toLivewire()
{
return $this->toArray();
}
Expand All @@ -112,7 +112,7 @@ public function toLivewire(): array
* percent_off: ?float,
* } $value
*/
public static function fromLivewire(?array $value): static
public static function fromLivewire($value)
{
return static::fromArray($value);
}
Expand Down

0 comments on commit 6571efd

Please sign in to comment.