Skip to content

Commit 977ecb4

Browse files
committed
minor #21238 fix: resolve confusing typo in php config example (Ahummeling)
This PR was merged into the 6.4 branch. Discussion ---------- fix: resolve confusing typo in php config example Hey, looking at the documentation I noticed an inconsistency in the examples for configuration logging deduplication. After trying out the provided example using type `deduplicated`, I quickly found that it was not valid. Then I noticed the other config languages use the `deduplication` type. So we probably want to use the correct type in the example. Commits ------- 6a79b52 fix: resolve confusing typo in php config example
2 parents 23b89f6 + 6a79b52 commit 977ecb4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

logging/monolog_email.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ You can adjust the time period using the ``time`` option:
180180
// ...
181181
182182
$monolog->handler('deduplicated')
183-
->type('deduplicated')
183+
->type('deduplication')
184184
// the time in seconds during which duplicate entries are discarded (default: 60)
185185
->time(10)
186186
->handler('symfony_mailer')
@@ -304,7 +304,7 @@ get logged on the server as well as the emails being sent:
304304
;
305305
306306
$monolog->handler('deduplicated')
307-
->type('deduplicated')
307+
->type('deduplication')
308308
->handler('symfony_mailer')
309309
;
310310

0 commit comments

Comments
 (0)