Merge pull request #10817 from MrPetovan/task/refactor-notifications
Explicitly cast Url objects to string
This commit is contained in:
commit
dd3f573fec
1 changed files with 3 additions and 3 deletions
|
@ -104,11 +104,11 @@ class Notify extends BaseDepository
|
|||
$fields = [
|
||||
'type' => $Notify->type,
|
||||
'name' => $Notify->name,
|
||||
'url' => $Notify->url,
|
||||
'photo' => $Notify->photo,
|
||||
'url' => (string)$Notify->url,
|
||||
'photo' => (string)$Notify->photo,
|
||||
'msg' => $Notify->msg,
|
||||
'uid' => $Notify->uid,
|
||||
'link' => $Notify->link,
|
||||
'link' => (string)$Notify->link,
|
||||
'iid' => $Notify->itemId,
|
||||
'parent' => $Notify->parent,
|
||||
'seen' => $Notify->seen,
|
||||
|
|
Loading…
Reference in a new issue