diff --git a/includes/activity/class-base-object.php b/includes/activity/class-base-object.php index e8fca38..dd3d093 100644 --- a/includes/activity/class-base-object.php +++ b/includes/activity/class-base-object.php @@ -735,7 +735,13 @@ class Base_Object { return \wp_json_encode( $array, \JSON_HEX_TAG | \JSON_HEX_AMP | \JSON_HEX_QUOT ); } - public function if( bool $b ) { + /** + * skips next setter if( false ); + * + * @param bool $b + * + */ + public function if( $b ) { $this->_skip_next = ! $b; return $this; }