From 86ca2b881d4d31afdd2a24c2cbaafdea30b40d4c Mon Sep 17 00:00:00 2001 From: Dustin Wilson Date: Sat, 8 Apr 2023 10:51:21 -0500 Subject: [PATCH] Small README fix --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5deab95..7f6625f 100644 --- a/README.md +++ b/README.md @@ -277,7 +277,7 @@ $handler = new StreamHandler(options: [ 'messageTransform' => function (string $message, array $context): string { return vsprintf($message, $context); } -]) +]); ``` Of course this is a simplistic example. One would want to convert the `$context` array to numerical keys (or just use numerical keys) before usage in `vsprintf`, but as can be seen it's very possible.