1
0
mirror of https://github.com/danog/amp.git synced 2024-11-26 20:15:00 +01:00

Ignore __destruct for coverage

This commit is contained in:
Niklas Keller 2017-05-02 19:30:34 +02:00
parent ad08ffba1d
commit 28820fa459

View File

@ -116,6 +116,9 @@ class EventDriver extends Driver {
return \extension_loaded("event");
}
/**
* @codeCoverageIgnore
*/
public function __destruct() {
foreach ($this->events as $event) {
$event->free();