Completed
Pull Request — master (#31)
by Christopher
03:04
created
src/Models/MetadataTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -123,7 +123,7 @@
 block discarded – undo
123 123
 
124 124
         $complex = $metadata->addEntityType(new \ReflectionClass(get_class($this)), $table, $MetaNamespace);
125 125
         $keyName = $this->getKeyName();
126
-        if(!is_null($keyName)){
126
+        if (!is_null($keyName)) {
127 127
             $metadata->addKeyProperty($complex, $keyName, $this->mapping[$raw[$keyName]['type']]);
128 128
         }
129 129
         foreach ($raw as $key => $secret) {
Please login to merge, or discard this patch.