From c40390c202016db26621c65713aa3e890b5c4809 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Sun, 3 Oct 2021 15:22:40 -0400 Subject: [PATCH] Revert "Explicitly cast Url objects to string" This reverts commit ee5aa2d4327699ae80c281c6aebbeaf6f06be269. --- src/Navigation/Notifications/Depository/Notify.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Navigation/Notifications/Depository/Notify.php b/src/Navigation/Notifications/Depository/Notify.php index 73eff7694d..4c7a1ef33d 100644 --- a/src/Navigation/Notifications/Depository/Notify.php +++ b/src/Navigation/Notifications/Depository/Notify.php @@ -104,11 +104,11 @@ class Notify extends BaseDepository $fields = [ 'type' => $Notify->type, 'name' => $Notify->name, - 'url' => (string)$Notify->url, - 'photo' => (string)$Notify->photo, + 'url' => $Notify->url, + 'photo' => $Notify->photo, 'msg' => $Notify->msg, 'uid' => $Notify->uid, - 'link' => (string)$Notify->link, + 'link' => $Notify->link, 'iid' => $Notify->itemId, 'parent' => $Notify->parent, 'seen' => $Notify->seen,