mirror of
https://github.com/codeigniter4/CodeIgniter4.git
synced 2025-02-20 11:44:28 +08:00
Update PHPDocs in Debug Timer
This commit is contained in:
parent
b5d66d7e0e
commit
5394971f52
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user