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:
authorJonas Meurer <jonas@freesources.org>2020-08-07 14:38:30 +0300
committerJonas Meurer <jonas@freesources.org>2020-08-09 13:13:43 +0300
commit843afcd8aa74a2e7e8292793de493484935b7387 (patch)
tree3cf40d557c6e16bcfbc00bba6f037028422506f4 /lib/Api
parenta684d6c1f8134f528b89cbb019ed9175bc48d4e2 (diff)
Replace `Circles::` with `self::` in lib/Api/v1/Circles.php
Signed-off-by: Jonas Meurer <jonas@freesources.org>
Diffstat (limited to 'lib/Api')
-rw-r--r--lib/Api/v1/Circles.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Api/v1/Circles.php b/lib/Api/v1/Circles.php
index 2058f22a..eb84cb13 100644
--- a/lib/Api/v1/Circles.php
+++ b/lib/Api/v1/Circles.php
@@ -105,8 +105,8 @@ class Circles {
* @throws ApiVersionIncompatibleException
*/
public static function compareVersion($apiVersion) {
- if ((int)$apiVersion[0] !== Circles::API_VERSION[0]
- || (int)$apiVersion[1] !== Circles::API_VERSION[1]) {
+ if ((int)$apiVersion[0] !== self::API_VERSION[0]
+ || (int)$apiVersion[1] !== self::API_VERSION[1]) {
throw new ApiVersionIncompatibleException('api_not_compatible');
}