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);

View File

@@ -11,7 +11,7 @@
### For developers
* Developer environment based on docker [https://www.youtube.com/watch?v=sz8OV_ON6S8](https://www.youtube.com/watch?v=sz8OV_ON6S8)
* [Developer guide](https://icehrm.gitbook.io/icehrm/developer-guide/create-new-module)
* Fully support from php 7.0 upto 7.4 (php 5.6 support is deprecated and not recommended)
* Fully supports all php versions >= 5.6 upto v7.3 (php 5.6 support is deprecated and not recommended)
### Bug fixes
* Fixes to newly found vulnerabilities (https://github.com/gamonoid/icehrm/issues/213): credits to: [Talos](https://talosintelligence.com/)