Permalink
Browse files

CS fix

  • Loading branch information...
1 parent cef7b81 commit 7b588c47a4d77706b488286acc32cdeb6c7d09f0 @MrHash MrHash committed Apr 30, 2013
Showing with 3 additions and 1 deletion.
  1. +3 −1 lib/Doctrine/Search/Mapping/Driver/AnnotationDriver.php
@@ -181,7 +181,9 @@ private function addValuesToMetadata(array $reflectedClassProperties, ClassMetad
if (false === property_exists($metadata, $propertyName)) {
throw new DriverException\PropertyDoesNotExistsInMetadataException($reflectedProperty->getName());
} else {
- if(!is_null($class->$propertyName)) $metadata->$propertyName = $class->$propertyName;
+ if(!is_null($class->$propertyName)) {
+ $metadata->$propertyName = $class->$propertyName;
+ }
}
}

0 comments on commit 7b588c4

Please sign in to comment.