Skip to content

Commit 0de0ff2

Browse files
Merge branch '7.4' into 8.0
* 7.4: [FrameworkBundle] Dump all registered extensions’ configuration reference fix merge Mark FormFlow as finished if the last step is skipped [HttpKernel] Fix using MapRequestPayload on nullable arguments [ObjectMapper] bypass lazy ghost with class transform [WebProfilerBundle] fix displaying runner [DependencyInjection] Fix preloading LazyClosure [Emoji] Update list to version 17 make doLoadClassMetadata() methods private fix routing config type information [HttpClient] Don't reset unused clients in data collector
2 parents 1986cb6 + 74426f9 commit 0de0ff2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Dumper/PhpDumper.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1189,6 +1189,7 @@ private function addNewInstance(Definition $definition, string $return = '', ?st
11891189
|| ($callable[0] instanceof Definition && !$this->definitionVariables->offsetExists($callable[0]))
11901190
))) {
11911191
$initializer = 'fn () => '.$this->dumpValue($callable[0]);
1192+
$this->preload[LazyClosure::class] = LazyClosure::class;
11921193

11931194
return $return.LazyClosure::getCode($initializer, $callable, $class, $this->container, $id).$tail;
11941195
}

0 commit comments

Comments
 (0)