fix(ocm): format notifications

Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
pull/55816/head
Maxence Lange 2025-10-08 17:04:40 +07:00 committed by backportbot[bot]
parent 3dfe69e5ad
commit d881ad365e
2 changed files with 2 additions and 2 deletions

@ -32,7 +32,7 @@ class CloudFederationNotification implements ICloudFederationNotification {
$this->message = [
'notificationType' => $notificationType,
'resourceType' => $resourceType,
'providerId' => $providerId,
'providerId' => (string)$providerId,
'notification' => $notification,
];
}

@ -124,7 +124,7 @@ class CloudFederationShare implements ICloudFederationShare {
* @since 14.0.0
*/
public function setProviderId($providerId) {
$this->share['providerId'] = $providerId;
$this->share['providerId'] = (string)$providerId;
}
/**