Skip to content

Commit

Permalink
Only resolve value once
Browse files Browse the repository at this point in the history
Signed-off-by: Luís Cobucci <[email protected]>
  • Loading branch information
lcobucci committed Nov 10, 2024
1 parent 7b2427b commit 3f5a497
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Compiler.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ private function getContainerContent(
$options['as_files'] = true;

$options['inline_factories'] = $options['debug'] === false;
$options['inline_class_loader'] = $options['debug'] === false;
$options['inline_class_loader'] = $options['inline_factories'];

$content = (new PhpDumper($container))->dump($options);
assert(is_array($content));
Expand Down

0 comments on commit 3f5a497

Please sign in to comment.