Skip to content

Commit 5d9de0c

Browse files
committed
Fix typo, remove debug mode hint
1 parent c1a4d93 commit 5d9de0c

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

src/Loop.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -179,9 +179,9 @@ public static function repeat($interval, callable $callback, $data = null)
179179
* Execute a callback when a stream resource becomes readable or is closed for reading.
180180
*
181181
* Warning: Closing resources locally, e.g. with `fclose`, might not invoke the callback. Be sure to `cancel` the
182-
* watcher when closing the resource locally. Drivers might choose to notify the user in a debug mode if there are
183-
* watchers on invalid resources, but are not required to, due to the high performance impact. Watchers on closed
184-
* resources are therefore undefined behavior.
182+
* watcher when closing the resource locally. Drivers may choose to notify the user if there are watchers on invalid
183+
* resources, but are not required to, due to the high performance impact. Watchers on closed resources are
184+
* therefore undefined behavior.
185185
*
186186
* Multiple watchers on the same stream may be executed in any order.
187187
*
@@ -201,9 +201,9 @@ public static function onReadable($stream, callable $callback, $data = null)
201201
* Execute a callback when a stream resource becomes writable or is closed for writing.
202202
*
203203
* Warning: Closing resources locally, e.g. with `fclose`, might not invoke the callback. Be sure to `cancel` the
204-
* watcher when closing the resource locally. Drivers might choose to notify the user in a debug mode if there are
205-
* watchers on invalid resources, but are not required to, due to the high performance impact. Watchers on closed
206-
* resources are therefore undefined behavior.
204+
* watcher when closing the resource locally. Drivers may choose to notify the user if there are watchers on invalid
205+
* resources, but are not required to, due to the high performance impact. Watchers on closed resources are
206+
* therefore undefined behavior.
207207
*
208208
* Multiple watchers on the same stream may be executed in any order.
209209
*

src/Loop/Driver.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@ abstract public function repeat($interval, callable $callback, $data = null);
8181
* Execute a callback when a stream resource becomes readable or is closed for reading.
8282
*
8383
* Warning: Closing resources locally, e.g. with `fclose`, might not invoke the callback. Be sure to `cancel` the
84-
* watcher when closing the resource locally. Drivers might choose to notify the user in a debug mode if there are
85-
* watchers on invalid resources, but are not required to, due to the high performance impact. Watchers on closed
86-
* resources are therefore undefined behavior.
84+
* watcher when closing the resource locally. Drivers may choose to notify the user if there are watchers on invalid
85+
* resources, but are not required to, due to the high performance impact. Watchers on closed resources are
86+
* therefore undefined behavior.
8787
*
8888
* Multiple watchers on the same stream may be executed in any order.
8989
*
@@ -99,9 +99,9 @@ abstract public function onReadable($stream, callable $callback, $data = null);
9999
* Execute a callback when a stream resource becomes writable or is closed for writing.
100100
*
101101
* Warning: Closing resources locally, e.g. with `fclose`, might not invoke the callback. Be sure to `cancel` the
102-
* watcher when closing the resource locally. Drivers might choose to notify the user in a debug mode if there are
103-
* watchers on invalid resources, but are not required to, due to the high performance impact. Watchers on closed
104-
* resources are therefore undefined behavior.
102+
* watcher when closing the resource locally. Drivers may choose to notify the user if there are watchers on invalid
103+
* resources, but are not required to, due to the high performance impact. Watchers on closed resources are
104+
* therefore undefined behavior.
105105
*
106106
* Multiple watchers on the same stream may be executed in any order.
107107
*

0 commit comments

Comments
 (0)