diff --git a/src/Loop.php b/src/Loop.php index ec8d581..c911ce4 100644 --- a/src/Loop.php +++ b/src/Loop.php @@ -287,11 +287,9 @@ final class Loop * "on_readable" => ["enabled" => int, "disabled" => int], * "on_writable" => ["enabled" => int, "disabled" => int], * "on_signal" => ["enabled" => int, "disabled" => int], - * "keep_alive" => int, + * "watchers" => ["referenced" => int, "unreferenced" => int], * ]; * - * keep_alive refers to the number of referenced watchers. - * * Implementations MAY optionally add more information in the array but * at minimum the above key => value format MUST always be provided. * diff --git a/src/LoopDriver.php b/src/LoopDriver.php index 08c019b..152b4bc 100644 --- a/src/LoopDriver.php +++ b/src/LoopDriver.php @@ -157,11 +157,9 @@ interface LoopDriver * "on_readable" => ["enabled" => int, "disabled" => int], * "on_writable" => ["enabled" => int, "disabled" => int], * "on_signal" => ["enabled" => int, "disabled" => int], - * "keep_alive" => int, + * "watchers" => ["referenced" => int, "unreferenced" => int], * ]; * - * keep_alive refers to the number of referenced watchers. - * * Implementations MAY optionally add more information in the array but * at minimum the above key => value format MUST always be provided. *