Skip to content

Commit 684ad85

Browse files
Revert to container.dumper.inline_factories=false by default
1 parent c6f572c commit 684ad85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dumper/PhpDumper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ public function dump(array $options = [])
157157
$this->asFiles = $options['as_files'];
158158
$this->hotPathTag = $options['hot_path_tag'];
159159
$this->preloadTags = $options['preload_tags'];
160-
$this->inlineFactories = $this->asFiles && $options['inline_factories_parameter'] && (!$this->container->hasParameter($options['inline_factories_parameter']) || $this->container->getParameter($options['inline_factories_parameter']));
160+
$this->inlineFactories = $this->asFiles && $options['inline_factories_parameter'] && $this->container->hasParameter($options['inline_factories_parameter']) && $this->container->getParameter($options['inline_factories_parameter']);
161161
$this->inlineRequires = $options['inline_class_loader_parameter'] && ($this->container->hasParameter($options['inline_class_loader_parameter']) ? $this->container->getParameter($options['inline_class_loader_parameter']) : (\PHP_VERSION_ID < 70400 || $options['debug']));
162162
$this->serviceLocatorTag = $options['service_locator_tag'];
163163

0 commit comments

Comments
 (0)