From 10d72a55b0d3173728eac158ef2da6901b712aa8 Mon Sep 17 00:00:00 2001 From: Jan Prieser Date: Mon, 16 Dec 2013 16:00:05 +0100 Subject: [PATCH] fix indentation --- Metadata/MetadataConverter.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Metadata/MetadataConverter.php b/Metadata/MetadataConverter.php index 49f89bc..9c82910 100644 --- a/Metadata/MetadataConverter.php +++ b/Metadata/MetadataConverter.php @@ -65,10 +65,10 @@ public function convert(ClassHierarchyMetadata $metadata) $definition->setProperties($classMetadata->properties); if (null !== $classMetadata->lazy) { - if (!method_exists($definition, 'setLazy')) { - throw new \RuntimeException(sprintf('the "lazy" attribute is not available on your Symfony version.')); - } - $definition->setLazy($classMetadata->lazy); + if (!method_exists($definition, 'setLazy')) { + throw new \RuntimeException(sprintf('the "lazy" attribute is not available on your Symfony version.')); + } + $definition->setLazy($classMetadata->lazy); } if (null !== $classMetadata->factoryClass) { $definition->setFactoryClass($classMetadata->factoryClass);