diff options
Diffstat (limited to 'lib/Api/Circles.php')
-rw-r--r-- | lib/Api/Circles.php | 8 |
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); } |