From 820641ee0caf8072629012e300a951e0e5c6c4d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Wed, 28 Jul 2021 18:00:52 +0200 Subject: [PATCH] Throw instead of doing nothing --- lib/Api/v1/Circles.php | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/lib/Api/v1/Circles.php b/lib/Api/v1/Circles.php index cb8ebd46..a2b94bb4 100644 --- a/lib/Api/v1/Circles.php +++ b/lib/Api/v1/Circles.php @@ -212,10 +212,7 @@ class Circles { * */ public static function getMember($circleUniqueId, $ident, $type, $forceAll = false) { -// $c = self::getContainer(); -// -// return $c->query(MembersService::class) -// ->getMember($circleUniqueId, $ident, $type, $forceAll); + throw new \BadMethodCallException('Method is deprecated and not longer works'); } @@ -232,9 +229,6 @@ class Circles { * */ public static function getFilesForCircles($circleUniqueIds) { -// $c = self::getContainer(); -// -// return $c->query(CirclesService::class) -// ->getFilesForCircles($circleUniqueIds); + throw new \BadMethodCallException('Method is deprecated and not longer works'); } }