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
path: root/lib/Api
diff options
context:
space:
mode:
authorMaxence Lange <maxence@nextcloud.com>2017-05-22 14:21:09 +0300
committerMaxence Lange <maxence@nextcloud.com>2017-05-22 14:21:09 +0300
commita689488c47519886bb6f45403049abda496b614e (patch)
treec95d940c510d716ca5a08a9b373c8298654550e5 /lib/Api
parent33013bf89e7bea1e1c46a0f39f5f1a62321a4119 (diff)
compat php5.6
Signed-off-by: Maxence Lange <maxence@nextcloud.com>
Diffstat (limited to 'lib/Api')
-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);
}