Fix php 5.6 issue

This commit is contained in:
Thilina Pituwala
2020-06-01 12:32:12 +02:00
parent b8299b5c57
commit 3cf5e4ef91
2 changed files with 2 additions and 2 deletions

View File

@@ -69,7 +69,7 @@ class LogManager
return $this->logCollector;
}
public function notifyException(\Throwable $error)
public function notifyException($error)
{
if ($this->isNewRelicActive()) {
newrelic_notice_error(sprintf('(client=%s) %s', CLIENT_NAME, $error->getMessage()), $error);