diff --git a/src/MagicObject.php b/src/MagicObject.php index 99f937e..1b6fb5c 100644 --- a/src/MagicObject.php +++ b/src/MagicObject.php @@ -760,18 +760,6 @@ public function set($propertyName, $propertyValue, $skipModifyNullProperties = f return $this; } - /** - * Unset property - * - * @param string $propertyName - * @return self - */ - public function unset($propertyName) - { - $this->__unset($propertyName); - return $this; - } - /** * Adds array elements from a property at the end * diff --git a/src/SecretObject.php b/src/SecretObject.php index b154c64..2fa25a5 100644 --- a/src/SecretObject.php +++ b/src/SecretObject.php @@ -711,18 +711,6 @@ public function set($propertyName, $propertyValue) return $this->_set($propertyName, $propertyValue); } - /** - * Unset property - * - * @param string $propertyName - * @return self - */ - public function unset($propertyName) - { - $this->__unset($propertyName); - return $this; - } - /** * Add array element of property * diff --git a/src/SetterGetter.php b/src/SetterGetter.php index 8c11784..3fe4444 100644 --- a/src/SetterGetter.php +++ b/src/SetterGetter.php @@ -97,18 +97,6 @@ public function set($propertyName, $propertyValue) return $this; } - /** - * Unset property - * - * @param string $propertyName - * @return self - */ - public function unset($propertyName) - { - $this->__unset($propertyName); - return $this; - } - /** * Add array element of property *