Skip to content

Commit 70be84e

Browse files
committed
fixed CS
1 parent 63a20ce commit 70be84e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dumper/PhpDumper.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -714,7 +714,7 @@ protected function {$methodName}($lazyInitialization)
714714
$code .= $this->addServiceInclude($id, $definition);
715715

716716
if ($this->getProxyDumper()->isProxyCandidate($definition)) {
717-
$factoryCode = $asFile ? ($definition->isShared() ? "\$this->load('%s.php', false)" : "\$this->factories[%2\$s](false)") : '$this->%s(false)';
717+
$factoryCode = $asFile ? ($definition->isShared() ? "\$this->load('%s.php', false)" : '$this->factories[%2$s](false)') : '$this->%s(false)';
718718
$code .= $this->getProxyDumper()->getProxyFactoryCode($definition, $id, sprintf($factoryCode, $methodName, $this->doExport($id)));
719719
}
720720

@@ -1456,14 +1456,14 @@ private function getServiceConditionals($value): string
14561456
if (!$this->container->hasDefinition($service)) {
14571457
return 'false';
14581458
}
1459-
$conditions[] = sprintf("isset(\$this->%s[%s])", $this->container->getDefinition($service)->isPublic() ? 'services' : 'privates', $this->doExport($service));
1459+
$conditions[] = sprintf('isset($this->%s[%s])', $this->container->getDefinition($service)->isPublic() ? 'services' : 'privates', $this->doExport($service));
14601460
}
14611461
foreach (ContainerBuilder::getServiceConditionals($value) as $service) {
14621462
if ($this->container->hasDefinition($service) && !$this->container->getDefinition($service)->isPublic()) {
14631463
continue;
14641464
}
14651465

1466-
$conditions[] = sprintf("\$this->has(%s)", $this->doExport($service));
1466+
$conditions[] = sprintf('$this->has(%s)', $this->doExport($service));
14671467
}
14681468

14691469
if (!$conditions) {

0 commit comments

Comments
 (0)