Skip to content

Commit d881ad3

Browse files
ArtificialOwlbackportbot[bot]
authored andcommitted
fix(ocm): format notifications
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
1 parent 3dfe69e commit d881ad3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/private/Federation/CloudFederationNotification.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public function setMessage($notificationType, $resourceType, $providerId, array
3232
$this->message = [
3333
'notificationType' => $notificationType,
3434
'resourceType' => $resourceType,
35-
'providerId' => $providerId,
35+
'providerId' => (string)$providerId,
3636
'notification' => $notification,
3737
];
3838
}

lib/private/Federation/CloudFederationShare.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ public function setDescription($description) {
124124
* @since 14.0.0
125125
*/
126126
public function setProviderId($providerId) {
127-
$this->share['providerId'] = $providerId;
127+
$this->share['providerId'] = (string)$providerId;
128128
}
129129

130130
/**

0 commit comments

Comments
 (0)