Skip to content

Commit 935658f

Browse files
authored
Update Database Connection getElapsedTime comment to specify unit (#57099)
To understand whether the value is seconds, milliseconds, microseconds, nanoseconds
1 parent f2098d7 commit 935658f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Database/Connection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -862,7 +862,7 @@ public function logQuery($query, $bindings, $time = null)
862862
}
863863

864864
/**
865-
* Get the elapsed time since a given starting point.
865+
* Get the elapsed time in milliseconds since a given starting point.
866866
*
867867
* @param float $start
868868
* @return float

0 commit comments

Comments
 (0)