Skip to content

Commit

Permalink
Remove unset
Browse files Browse the repository at this point in the history
  • Loading branch information
kamshory committed Oct 9, 2024
1 parent 8c3b5c6 commit 6f030f3
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 36 deletions.
12 changes: 0 additions & 12 deletions src/MagicObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
Expand Down
12 changes: 0 additions & 12 deletions src/SecretObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
Expand Down
12 changes: 0 additions & 12 deletions src/SetterGetter.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
Expand Down

0 comments on commit 6f030f3

Please sign in to comment.