summaryrefslogtreecommitdiffstats
path: root/inc/database.inc.php
diff options
context:
space:
mode:
authorSimon Rettberg2023-10-02 18:02:58 +0200
committerSimon Rettberg2023-10-02 18:02:58 +0200
commit9441569cdc86fdb6117b5c48d8d33f4ecbb46b8d (patch)
tree5eb8679eed26a540a4ae6fa29eeb2f89f16ece5f /inc/database.inc.php
parentUpdate Mustache to 46286a1 (diff)
downloadslx-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.php3
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;
}