Update PHPDocs in Debug Timer

This commit is contained in:
Natan Felles 2017-07-26 02:43:44 -03:00
parent b5d66d7e0e
commit 5394971f52
No known key found for this signature in database
GPG Key ID: 59CC6FA82E1E87FD

View File

@ -89,6 +89,8 @@ class Timer
* it will be automatically stopped at that point.
*
* @param string $name The name of this timer.
*
* @return Timer
*/
public function stop(string $name)
{
@ -109,8 +111,8 @@ class Timer
/**
* Returns the duration of a recorded timer.
*
* @param $name The name of the timer.
* @param int $decimals Number of decimal places.
* @param string $name The name of the timer.
* @param int $decimals Number of decimal places.
*
* @return null|float Returns null if timer exists by that name.
* Returns a float representing the number of