Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/circles.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Api/Circles.php')
-rw-r--r--lib/Api/Circles.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Api/Circles.php b/lib/Api/Circles.php
index dfc1ecfc..b662f0e7 100644
--- a/lib/Api/Circles.php
+++ b/lib/Api/Circles.php
@@ -72,16 +72,16 @@ class Circles {
public static function shareToCircle(
- int $circleId, string $source, string $type, array $payload, string $broadcaster
+ $circleId, $source, $type, array $payload, $broadcaster
) {
$c = self::getContainer();
- $frame = new SharingFrame($source, $type);
- $frame->setCircleId($circleId);
+ $frame = new SharingFrame((string)$source, (string)$type);
+ $frame->setCircleId((int)$circleId);
$frame->setPayload($payload);
return $c->query('SharesService')
- ->createFrame($frame, $broadcaster);
+ ->createFrame($frame, (string)$broadcaster);
}