mirror of
https://github.com/processwire/processwire.git
synced 2025-08-17 20:11:46 +02:00
Clarify wording in phpdoc of Wire::trackChanges() method per processwire/processwire-issues#707
This commit is contained in:
@@ -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
|
* #pw-group-changes
|
||||||
*
|
*
|
||||||
* @param bool $getMode When true, the track changes mode bitmask will be returned rather than a boolean
|
* @param bool $getMode When true, the track changes mode bitmask will be returned
|
||||||
* @return bool|int
|
* @return int|bool 0/false if off, 1/true if On, or mode bitmask if requested
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public function trackChanges($getMode = false) {
|
public function trackChanges($getMode = false) {
|
||||||
|
Reference in New Issue
Block a user