Skip to content

Commit cf7886b

Browse files
authored
[11.x] Uri and UriQueryString implement Stringable (#53873)
* Update UriQueryString.php * Update Uri.php
1 parent 8b6099d commit cf7886b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/Illuminate/Support/Uri.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
use SensitiveParameter;
1515
use Stringable;
1616

17-
class Uri implements Htmlable, Responsable
17+
class Uri implements Htmlable, Responsable, Stringable
1818
{
1919
use Conditionable, Tappable;
2020

src/Illuminate/Support/UriQueryString.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@
55
use Illuminate\Contracts\Support\Arrayable;
66
use Illuminate\Support\Traits\InteractsWithData;
77
use League\Uri\QueryString;
8+
use Stringable;
89

9-
class UriQueryString implements Arrayable
10+
class UriQueryString implements Arrayable, Stringable
1011
{
1112
use InteractsWithData;
1213

0 commit comments

Comments
 (0)