@@ -81,9 +81,9 @@ abstract public function repeat($interval, callable $callback, $data = null);
81
81
* Execute a callback when a stream resource becomes readable or is closed for reading.
82
82
*
83
83
* 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.
87
87
*
88
88
* Multiple watchers on the same stream may be executed in any order.
89
89
*
@@ -99,9 +99,9 @@ abstract public function onReadable($stream, callable $callback, $data = null);
99
99
* Execute a callback when a stream resource becomes writable or is closed for writing.
100
100
*
101
101
* 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.
105
105
*
106
106
* Multiple watchers on the same stream may be executed in any order.
107
107
*
0 commit comments