You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this example, $diff will be a float representing the time delta value in microseconds, while the interface expects an int representing milliseconds:
/** * Records a timing. * * @param string $variable * @param int $time The duration of the timing in milliseconds */publicfunction timing($variable, $time);
The text was updated successfully, but these errors were encountered:
It looks like the example documentation on how to use the timing functionality isn't consistent with the expected data type and unit of measure:
README.md:
In this example,
$diff
will be afloat
representing the time delta value in microseconds, while the interface expects anint
representing milliseconds:Collector.php:
The text was updated successfully, but these errors were encountered: