From bddea1625527bfbf0aa8b2c5ef48e624d936c572 Mon Sep 17 00:00:00 2001 From: Ryan Cramer Date: Tue, 25 Sep 2018 10:26:02 -0400 Subject: [PATCH] Clarify wording in phpdoc of Wire::trackChanges() method per processwire/processwire-issues#707 --- wire/core/Wire.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wire/core/Wire.php b/wire/core/Wire.php index 7a57a9cc..efb63af5 100644 --- a/wire/core/Wire.php +++ b/wire/core/Wire.php @@ -1086,12 +1086,12 @@ abstract class Wire implements WireTranslatable, WireFuelable, WireTrackable { } /** - * Returns true if change tracking is on, or false if it is not. + * Returns true or 1 if change tracking is on, or false or 0 if it is not, or mode bitmask (int) if requested. * * #pw-group-changes * - * @param bool $getMode When true, the track changes mode bitmask will be returned rather than a boolean - * @return bool|int + * @param bool $getMode When true, the track changes mode bitmask will be returned + * @return int|bool 0/false if off, 1/true if On, or mode bitmask if requested * */ public function trackChanges($getMode = false) {