From 2a73a6f1f7978b0f4a43f5698464f5ef2ad4150b Mon Sep 17 00:00:00 2001 From: "Johannes M. Schmitt" Date: Wed, 13 Nov 2013 00:05:55 +0100 Subject: [PATCH] some cs fixes --- lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php b/lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php index c89634f5298..418ad891197 100644 --- a/lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php +++ b/lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php @@ -247,7 +247,7 @@ class ClassMetadataInfo implements ClassMetadata 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 */ @@ -900,7 +900,7 @@ public function wakeupReflection($reflService) foreach ($this->fieldMappings as $field => $mapping) { if (isset($mapping['declaredField'])) { $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( $reflService->getAccessibleProperty($declaringClass, $mapping['declaredField']),