diff options
author | Jonas Meurer <jonas@freesources.org> | 2020-08-07 14:38:30 +0300 |
---|---|---|
committer | Jonas Meurer <jonas@freesources.org> | 2020-08-09 13:13:43 +0300 |
commit | 843afcd8aa74a2e7e8292793de493484935b7387 (patch) | |
tree | 3cf40d557c6e16bcfbc00bba6f037028422506f4 /lib | |
parent | a684d6c1f8134f528b89cbb019ed9175bc48d4e2 (diff) |
Replace `Circles::` with `self::` in lib/Api/v1/Circles.php
Signed-off-by: Jonas Meurer <jonas@freesources.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Api/v1/Circles.php | 4 |
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'); } |