Skip to content

Commit 17f8f85

Browse files
Ben RobertsSimonFrings
authored andcommitted
Remove Duplicate Word in Comment (Loop Interface)
Remove a duplicate word ("the") from the comment for `LoopInterface::addPeriodicTimer`.
1 parent be6dee4 commit 17f8f85

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -590,9 +590,9 @@ The return value of the timer callback function will be ignored and has
590590
no effect, so for performance reasons you're recommended to not return
591591
any excessive data structures.
592592

593-
Unlike [`addTimer()`](#addtimer), this method will ensure the the
594-
callback will be invoked infinitely after the given interval or until you
595-
invoke [`cancelTimer`](#canceltimer).
593+
Unlike [`addTimer()`](#addtimer), this method will ensure the callback
594+
will be invoked infinitely after the given interval or until you invoke
595+
[`cancelTimer`](#canceltimer).
596596

597597
```php
598598
$timer = $loop->addPeriodicTimer(0.1, function () {

src/LoopInterface.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -213,9 +213,9 @@ public function addTimer($interval, $callback);
213213
* no effect, so for performance reasons you're recommended to not return
214214
* any excessive data structures.
215215
*
216-
* Unlike [`addTimer()`](#addtimer), this method will ensure the the
217-
* callback will be invoked infinitely after the given interval or until you
218-
* invoke [`cancelTimer`](#canceltimer).
216+
* Unlike [`addTimer()`](#addtimer), this method will ensure the callback
217+
* will be invoked infinitely after the given interval or until you invoke
218+
* [`cancelTimer`](#canceltimer).
219219
*
220220
* ```php
221221
* $timer = $loop->addPeriodicTimer(0.1, function () {

0 commit comments

Comments
 (0)