Skip to content

Commit

Permalink
Merge pull request #41 from ekadesh/patch-1
Browse files Browse the repository at this point in the history
Update To.php
  • Loading branch information
andrey-helldar authored Jun 26, 2023
2 parents 54c814e + 057b457 commit 5b13cd4
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 5b13cd4

Please sign in to comment.