We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc5e7d8 commit 8b7508cCopy full SHA for 8b7508c
Dumper/PhpDumper.php
@@ -233,7 +233,9 @@ private function addProxyClasses()
233
$strip = '' === $this->docStar && method_exists('Symfony\Component\HttpKernel\Kernel', 'stripComments');
234
235
foreach ($definitions as $definition) {
236
- $proxyCode = "\n".$this->getProxyDumper()->getProxyCode($definition);
+ if ("\n" === $proxyCode = "\n".$this->getProxyDumper()->getProxyCode($definition)) {
237
+ continue;
238
+ }
239
if ($strip) {
240
$proxyCode = "<?php\n".$proxyCode;
241
$proxyCode = substr(Kernel::stripComments($proxyCode), 5);
0 commit comments