From cf7886bdee7017081263b14510c8d4753aa17a52 Mon Sep 17 00:00:00 2001 From: Luke Kuzmish <42181698+cosmastech@users.noreply.github.com> Date: Fri, 13 Dec 2024 08:58:26 -0500 Subject: [PATCH] [11.x] `Uri` and `UriQueryString` implement `Stringable` (#53873) * Update UriQueryString.php * Update Uri.php --- src/Illuminate/Support/Uri.php | 2 +- src/Illuminate/Support/UriQueryString.php | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Illuminate/Support/Uri.php b/src/Illuminate/Support/Uri.php index 71fdafe9419..a6f02ae0ae2 100644 --- a/src/Illuminate/Support/Uri.php +++ b/src/Illuminate/Support/Uri.php @@ -14,7 +14,7 @@ use SensitiveParameter; use Stringable; -class Uri implements Htmlable, Responsable +class Uri implements Htmlable, Responsable, Stringable { use Conditionable, Tappable; diff --git a/src/Illuminate/Support/UriQueryString.php b/src/Illuminate/Support/UriQueryString.php index a9ae5cead39..960bd759347 100644 --- a/src/Illuminate/Support/UriQueryString.php +++ b/src/Illuminate/Support/UriQueryString.php @@ -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;