diff --git a/wp-includes/cache.php b/wp-includes/cache.php index 4bfaa5f462..c1f8be90d4 100644 --- a/wp-includes/cache.php +++ b/wp-includes/cache.php @@ -310,8 +310,10 @@ class WP_Object_Cache { * Make private properties readable for backwards compatibility * * @since 4.0.0 - * @param string $name - * @return mixed + * @access public + * + * @param string $name Property to get. + * @return mixed Property. */ public function __get( $name ) { return $this->$name; @@ -321,9 +323,11 @@ class WP_Object_Cache { * Make private properties setable for backwards compatibility * * @since 4.0.0 - * @param string $name - * @param string $value - * @return mixed + * @access public + * + * @param string $name Property to set. + * @param mixed $value Property value. + * @return mixed Newly-set property. */ public function __set( $name, $value ) { return $this->$name = $value; @@ -333,8 +337,10 @@ class WP_Object_Cache { * Make private properties checkable for backwards compatibility * * @since 4.0.0 - * @param string $name - * @return mixed + * @access public + * + * @param string $name Property to check if set. + * @return bool Whether the property is set. */ public function __isset( $name ) { return isset( $this->$name ); @@ -344,8 +350,9 @@ class WP_Object_Cache { * Make private properties unsetable for backwards compatibility * * @since 4.0.0 - * @param string $name - * @return mixed + * @access public + * + * @param string $name Property to unset. */ public function __unset( $name ) { unset( $this->$name );