@@ -124,7 +124,7 @@ |
||
| 124 | 124 | |
| 125 | 125 | $complex = $metadata->addEntityType(new \ReflectionClass(get_class($this)), $table, $MetaNamespace); |
| 126 | 126 | $keyName = $this->getKeyName(); |
| 127 | - if(null != $keyName){ |
|
| 127 | + if (null != $keyName) { |
|
| 128 | 128 | $metadata->addKeyProperty($complex, $keyName, $this->mapping[$raw[$keyName]['type']]); |
| 129 | 129 | } |
| 130 | 130 | foreach ($raw as $key => $secret) { |