File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 4
4
namespace Ayesh \PHP_Timer ;
5
5
6
6
/**
7
- * Class Formatter
8
- * Formatter helper to format time intervals.
7
+ * Class Formatter - Helper to format time intervals.
9
8
* @internal
10
9
* @package Ayesh\PHP_Timer
11
10
*/
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ class Timer {
43
43
* Call this method to start the timer with a given key. The default key
44
44
* is "default", and used in @param string $key
45
45
*
46
- * @see \Ayesh\PHP_Timer\ Timer::read() and reset()
46
+ * @see Timer::read and reset()
47
47
* methods as well
48
48
*
49
49
* Calling this with the same $key will not restart the timer if it has already
@@ -63,15 +63,15 @@ public static function start(string $key = 'default'): void {
63
63
* Resets a specific timer, or default timer if not passed the $key parameter.
64
64
* To reset all timers, call @param string $key
65
65
*
66
- * @see \Ayesh\PHP_Timer\ Timer::resetAll().
66
+ * @see Timer::resetAll
67
67
*/
68
68
public static function reset (string $ key = 'default ' ): void {
69
69
unset(self ::$ timers [$ key ]);
70
70
}
71
71
72
72
/**
73
73
* Resets ALL timers.
74
- * To reset a specific timer, @see \Ayesh\PHP_Timer\ Timer::reset().
74
+ * To reset a specific timer, @see Timer::reset
75
75
*/
76
76
public static function resetAll (): void {
77
77
self ::$ timers = [];
You can’t perform that action at this time.
0 commit comments