From 83019b173b850e21276a6c250dd2b0244129feac Mon Sep 17 00:00:00 2001 From: Ryan Cramer Date: Fri, 18 Mar 2022 08:36:44 -0400 Subject: [PATCH] Fix issue processwire/processwire-issues#1539 --- wire/core/Page.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wire/core/Page.php b/wire/core/Page.php index d89bf861..072008cf 100644 --- a/wire/core/Page.php +++ b/wire/core/Page.php @@ -2867,7 +2867,7 @@ class Page extends WireData implements \Countable, WireMatchable { * #pw-group-manipulation * * @param bool $recursive If set to true, then this will attempt to delete all children too. - * @return bool True on success, false on failure. + * @return bool|int True on success, false on failure, or int quantity of pages deleted when recursive option is true. * @throws WireException when attempting to delete a page with children and $recursive option is not specified. * @see Pages::delete() *