Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
some cs fixes
  • Loading branch information
schmittjoh committed Nov 12, 2013
1 parent fb3a06b commit 2a73a6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php
Expand Up @@ -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
*/
Expand Down Expand Up @@ -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']),
Expand Down

0 comments on commit 2a73a6f

Please sign in to comment.