Skip to content

Commit 0674792

Browse files
committed
update rfc check
1 parent 6da3489 commit 0674792

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

DependencyInjection/MonologExtension.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ private function buildHandler(ContainerBuilder $container, $name, array $handler
511511
if ($handler['ident']) {
512512
$definition->addArgument($handler['ident']);
513513
}
514-
if ($handler['rfc']) {
514+
if (isset($handler['rfc'])) {
515515
$definition->addArgument($handler['rfc']);
516516
}
517517
break;

Resources/config/schema/monolog-1.0.xsd

+1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
<xsd:attribute name="host" type="xsd:string" />
4646
<xsd:attribute name="source" type="xsd:string" />
4747
<xsd:attribute name="port" type="xsd:integer" />
48+
<xsd:attribute name="rfc" type="xsd:integer" />
4849
<xsd:attribute name="action-level" type="level" />
4950
<xsd:attribute name="passthru-level" type="level" />
5051
<xsd:attribute name="min-level" type="level" />

0 commit comments

Comments
 (0)