X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCore%2FError%2FLog.php;h=964c7ed0ac2cc47bce5ecf71795acf768975a524;hb=ada741b8c7ccec08e2a89389a8bde651d62ea2a0;hp=9904045ad1a169f5c3ed3981e44a41ba13f52c73;hpb=82073f7bb13fb632c25236aae72d8ebf83ff54eb;p=civicrm-core.git diff --git a/CRM/Core/Error/Log.php b/CRM/Core/Error/Log.php index 9904045ad1..964c7ed0ac 100644 --- a/CRM/Core/Error/Log.php +++ b/CRM/Core/Error/Log.php @@ -52,7 +52,7 @@ class CRM_Core_Error_Log extends \Psr\Log\AbstractLogger { * @param string $message * @param array $context */ - public function log($level, $message, array $context = []) { + public function log($level, $message, array $context = []): void { // FIXME: This flattens a $context a bit prematurely. When integrating // with external/CMS logs, we should pass through $context. if (!empty($context)) {