Skip to content

Commit

Permalink
allow more log
Browse files Browse the repository at this point in the history
  • Loading branch information
demeritcowboy committed May 9, 2022
1 parent b6c6efb commit 0a0d00d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CRM/Core/Error/Log.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public static function getMap():array {
* @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)) {
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"symfony/filesystem": "~3.0 || ~4.4",
"symfony/process": "~3.0 || ~4.4",
"symfony/var-dumper": "~3.0 || ~4.4 || ~5.1",
"psr/log": "~1.0",
"psr/log": "~1.0 || ~2.0 || ~3.0",
"symfony/finder": "~3.0 || ~4.4",
"tecnickcom/tcpdf" : "6.4.*",
"totten/ca-config": "~22.05",
Expand Down

0 comments on commit 0a0d00d

Please sign in to comment.