summaryrefslogtreecommitdiffstats
path: root/lib/private/Diagnostics/Query.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Diagnostics/Query.php')
-rw-r--r--lib/private/Diagnostics/Query.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/private/Diagnostics/Query.php b/lib/private/Diagnostics/Query.php
index 8ac2cc0eeac..7b083ed41b7 100644
--- a/lib/private/Diagnostics/Query.php
+++ b/lib/private/Diagnostics/Query.php
@@ -67,7 +67,14 @@ class Query implements IQuery {
}
/**
- * @return int
+ * @return float
+ */
+ public function getStart() {
+ return $this->start;
+ }
+
+ /**
+ * @return float
*/
public function getDuration() {
return $this->end - $this->start;