Skip to content

Commit

Permalink
Update To.php
Browse files Browse the repository at this point in the history
Incompatible with CashierProvider\\Core\\Concerns\\Jsonable::toJson(int $options = 0): string
  • Loading branch information
ekadesh authored Jun 26, 2023
1 parent 54c814e commit 057b457
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Concerns/To.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

trait To
{
public function toJson($flags = JSON_UNESCAPED_UNICODE): string
public function toJson(int $flags = JSON_UNESCAPED_UNICODE): string
{
return json_encode($this->toArray(), $flags);
}
Expand Down

0 comments on commit 057b457

Please sign in to comment.