Added __invoke() to SignalTrap and fixed phpunit xml
This commit is contained in:
@@ -45,4 +45,9 @@ class SignalTrap
|
||||
return false;
|
||||
}
|
||||
|
||||
}
|
||||
public function __invoke($reset=true):bool
|
||||
{
|
||||
return $this->isTrapped($reset);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user