Skip to content

Commit fa69a5d

Browse files
committed
docs: simplify phpdoc comments
1 parent 800bed5 commit fa69a5d

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

src/Formatter.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
namespace Ayesh\PHP_Timer;
55

66
/**
7-
* Class Formatter
8-
* Formatter helper to format time intervals.
7+
* Class Formatter - Helper to format time intervals.
98
* @internal
109
* @package Ayesh\PHP_Timer
1110
*/

src/Timer.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class Timer {
4343
* Call this method to start the timer with a given key. The default key
4444
* is "default", and used in @param string $key
4545
*
46-
* @see \Ayesh\PHP_Timer\Timer::read() and reset()
46+
* @see Timer::read and reset()
4747
* methods as well
4848
*
4949
* 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 {
6363
* Resets a specific timer, or default timer if not passed the $key parameter.
6464
* To reset all timers, call @param string $key
6565
*
66-
* @see \Ayesh\PHP_Timer\Timer::resetAll().
66+
* @see Timer::resetAll
6767
*/
6868
public static function reset(string $key = 'default'): void {
6969
unset(self::$timers[$key]);
7070
}
7171

7272
/**
7373
* Resets ALL timers.
74-
* To reset a specific timer, @see \Ayesh\PHP_Timer\Timer::reset().
74+
* To reset a specific timer, @see Timer::reset
7575
*/
7676
public static function resetAll(): void {
7777
self::$timers = [];

0 commit comments

Comments
 (0)