From 58c466ef424da932fded2913be9f972460dff4c8 Mon Sep 17 00:00:00 2001 From: jmrieger Date: Mon, 17 Jun 2019 13:29:18 -0400 Subject: [PATCH] Update xdebug_stop_code_coverage parameter (#617) --- xdebug/xdebug.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xdebug/xdebug.php b/xdebug/xdebug.php index a4863d9b..9a9bed96 100644 --- a/xdebug/xdebug.php +++ b/xdebug/xdebug.php @@ -243,12 +243,12 @@ function xdebug_start_code_coverage ($options = 0) {} /** * This function stops collecting information, the information in memory will be destroyed. - * If you pass "false" as argument, then the code coverage information will not be destroyed so that you can resume + * If you pass 0 ("false") as argument, then the code coverage information will not be destroyed so that you can resume * the gathering of information with the xdebug_start_code_coverage() function again. - * @param bool $cleanup Destroy collected information in memory + * @param int $cleanup Destroy collected information in memory * @return void */ -function xdebug_stop_code_coverage ($cleanup = true) {} +function xdebug_stop_code_coverage ($cleanup = 1) {} /** * Returns whether code coverage is active.