Skip to content

Commit

Permalink
fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Prieser committed Dec 16, 2013
1 parent 1eab686 commit 10d72a5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Metadata/MetadataConverter.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 10d72a5

Please sign in to comment.