Correct the inline docs for `timer_stop()`. Fixes #26874. Props jackreichert

Built from https://develop.svn.wordpress.org/trunk@27332


git-svn-id: http://core.svn.wordpress.org/trunk@27184 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
John Blackbourn 2014-02-28 22:18:14 +00:00
parent 8dd1261904
commit 50c240d4d0
1 changed files with 1 additions and 1 deletions

View File

@ -217,7 +217,7 @@ function timer_start() {
* *
* @param int $display Use '0' or null to not echo anything and 1 to echo the total time * @param int $display Use '0' or null to not echo anything and 1 to echo the total time
* @param int $precision The amount of digits from the right of the decimal to display. Default is 3. * @param int $precision The amount of digits from the right of the decimal to display. Default is 3.
* @return float The "second.microsecond" finished time calculation * @return string The "second.microsecond" finished time calculation. The number is formatted for human consumption, it is both localized and rounded.
*/ */
function timer_stop( $display = 0, $precision = 3 ) { // if called like timer_stop(1), will echo $timetotal function timer_stop( $display = 0, $precision = 3 ) { // if called like timer_stop(1), will echo $timetotal
global $timestart, $timeend; global $timestart, $timeend;