diff options
author | Simon Rettberg | 2023-10-02 18:02:58 +0200 |
---|---|---|
committer | Simon Rettberg | 2023-10-02 18:02:58 +0200 |
commit | 9441569cdc86fdb6117b5c48d8d33f4ecbb46b8d (patch) | |
tree | 5eb8679eed26a540a4ae6fa29eeb2f89f16ece5f /inc/database.inc.php | |
parent | Update Mustache to 46286a1 (diff) | |
download | slx-admin-9441569cdc86fdb6117b5c48d8d33f4ecbb46b8d.tar.gz slx-admin-9441569cdc86fdb6117b5c48d8d33f4ecbb46b8d.tar.xz slx-admin-9441569cdc86fdb6117b5c48d8d33f4ecbb46b8d.zip |
[inc/Database] Fix return type
Diffstat (limited to 'inc/database.inc.php')
-rw-r--r-- | inc/database.inc.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/inc/database.inc.php b/inc/database.inc.php index ba6b58f8..81fd3259 100644 --- a/inc/database.inc.php +++ b/inc/database.inc.php @@ -16,6 +16,7 @@ class Database private static $lastError = false; private static $explainList = array(); private static $queryCount = 0; + /** @var float */ private static $queryTime = 0; /** @@ -455,7 +456,7 @@ class Database return self::$queryCount; } - public static function getQueryTime(): int + public static function getQueryTime(): float { return self::$queryTime; } |