Skip to content

Commit

Permalink
[11.x] Uri and UriQueryString implement Stringable (#53873)
Browse files Browse the repository at this point in the history
* Update UriQueryString.php

* Update Uri.php
  • Loading branch information
cosmastech authored Dec 13, 2024
1 parent 8b6099d commit cf7886b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Illuminate/Support/Uri.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
use SensitiveParameter;
use Stringable;

class Uri implements Htmlable, Responsable
class Uri implements Htmlable, Responsable, Stringable
{
use Conditionable, Tappable;

Expand Down
3 changes: 2 additions & 1 deletion src/Illuminate/Support/UriQueryString.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@
use Illuminate\Contracts\Support\Arrayable;
use Illuminate\Support\Traits\InteractsWithData;
use League\Uri\QueryString;
use Stringable;

class UriQueryString implements Arrayable
class UriQueryString implements Arrayable, Stringable
{
use InteractsWithData;

Expand Down

0 comments on commit cf7886b

Please sign in to comment.