Skip to content

Commit

Permalink
removing destructor
Browse files Browse the repository at this point in the history
  • Loading branch information
dcarbone committed Jan 1, 2021
1 parent 2e8bbc3 commit 4bb03ec
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/XMLWriterPlus.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,6 @@ class XMLWriterPlus extends \XMLWriter
/** @var bool */
protected $memory = false;

/**
* Destructor
*
* @link http://www.php.net/manual/en/function.xmlwriter-flush.php
*/
public function __destruct()
{
$this->flush();
}

/**
* @param string $prefix
* @param string $uri
Expand Down

0 comments on commit 4bb03ec

Please sign in to comment.