Skip to content

Commit 8784821

Browse files
committed
Soft Symfony 4 error
1 parent ef82628 commit 8784821

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Jade/JadeSymfonyEngine.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ protected function registerHelpers(ContainerInterface $services, $helpers)
199199
] as $helper) {
200200
if (
201201
$services->has('templating.helper.' . $helper) &&
202-
($instance = $services->get('templating.helper.' . $helper))
202+
($instance = $services->get('templating.helper.' . $helper, ContainerInterface::NULL_ON_INVALID_REFERENCE))
203203
) {
204204
$this->helpers[$helper] = $instance;
205205
}

0 commit comments

Comments
 (0)