1
0
mirror of synced 2025-01-09 18:47:10 +03:00

some cs fixes

This commit is contained in:
Johannes M. Schmitt 2013-11-13 00:05:55 +01:00
parent fb3a06b9e7
commit 2a73a6f1f7

View File

@ -247,7 +247,7 @@ class ClassMetadataInfo implements ClassMetadata
public $isMappedSuperclass = false; public $isMappedSuperclass = false;
/** /**
* READ-ONLY: Wheather this class describes the mapping of an embeddable class. * READ-ONLY: Whether this class describes the mapping of an embeddable class.
* *
* @var boolean * @var boolean
*/ */
@ -900,7 +900,7 @@ class ClassMetadataInfo implements ClassMetadata
foreach ($this->fieldMappings as $field => $mapping) { foreach ($this->fieldMappings as $field => $mapping) {
if (isset($mapping['declaredField'])) { if (isset($mapping['declaredField'])) {
$declaringClass = isset($this->embeddedClasses[$mapping['declaredField']]['declared']) $declaringClass = isset($this->embeddedClasses[$mapping['declaredField']]['declared'])
? $this->embeddedClasses[$mapping['declaredField']]['declared'] : $this->name; ? $this->embeddedClasses[$mapping['declaredField']]['declared'] : $this->name;
$this->reflFields[$field] = new ReflectionEmbeddedProperty( $this->reflFields[$field] = new ReflectionEmbeddedProperty(
$reflService->getAccessibleProperty($declaringClass, $mapping['declaredField']), $reflService->getAccessibleProperty($declaringClass, $mapping['declaredField']),