Merge branch 'php7-fix'

This commit is contained in:
Dmitry Khomutov 2018-01-28 17:24:37 +07:00
commit 0eb245ff29
No known key found for this signature in database
GPG key ID: EC19426474B37AAC

View file

@ -117,18 +117,18 @@ class Handler
}
/**
* @param \Exception $exception
* @param $exception
*/
public function handleException(\Exception $exception)
public function handleException($exception)
{
$this->log($exception);
}
/**
* Write to the build log.
* @param \Exception $exception
* @param $exception
*/
protected function log(\Exception $exception)
protected function log($exception)
{
if (null !== $this->logger) {
$message = sprintf(