-
Notifications
You must be signed in to change notification settings - Fork 11k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[9.x] Cast Stringable to string when used with json_encode() (#35680)
* [9.x] Cast Stringable to string when used with json_encode(). Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com> * Update src/Illuminate/Support/Stringable.php Co-authored-by: Anton Komarev <1849174+antonkomarev@users.noreply.github.com> * Update Stringable.php Co-authored-by: Taylor Otwell <taylor@laravel.com> Co-authored-by: Anton Komarev <1849174+antonkomarev@users.noreply.github.com>
- Loading branch information
1 parent
d6059bb
commit 840166a
Showing
2 changed files
with
19 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters