Skip to content

Commit

Permalink
Destructor is not triggered by tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Mar 7, 2017
1 parent d36d55e commit 867cffe
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Context.php
Expand Up @@ -155,6 +155,9 @@ private function containsObject($value)
return false;
}

/**
* @codeCoverageIgnore
*/
public function __destruct()
{
foreach ($this->arrays as &$array) {
Expand Down

0 comments on commit 867cffe

Please sign in to comment.