@@ -55,7 +55,7 @@  | 
                                                    ||
| 55 | 55 | * Gets the names of all mapped classes known to this driver.  | 
                                                        
| 56 | 56 | *  | 
                                                        
| 57 | 57 | * @throws MappingException  | 
                                                        
| 58 | - * @return string[] The names of all mapped classes known to this driver.  | 
                                                        |
| 58 | + * @return integer[] The names of all mapped classes known to this driver.  | 
                                                        |
| 59 | 59 | */  | 
                                                        
| 60 | 60 | public function getAllClassNames()  | 
                                                        
| 61 | 61 |      { | 
                                                        
@@ -30,7 +30,7 @@ discard block  | 
                                                    ||
| 30 | 30 | */  | 
                                                        
| 31 | 31 | public function __construct(array $mappings = [])  | 
                                                        
| 32 | 32 |      { | 
                                                        
| 33 | -        $this->fluentFactory = function (ClassMetadata $metadata) { | 
                                                        |
| 33 | +        $this->fluentFactory = function(ClassMetadata $metadata) { | 
                                                        |
| 34 | 34 | return new Builder(new ClassMetadataBuilder($metadata));  | 
                                                        
| 35 | 35 | };  | 
                                                        
| 36 | 36 | |
@@ -73,7 +73,7 @@ discard block  | 
                                                    ||
| 73 | 73 | public function isTransient($className)  | 
                                                        
| 74 | 74 |      { | 
                                                        
| 75 | 75 | return  | 
                                                        
| 76 | - ! $this->mappers->hasMapperFor($className) ||  | 
                                                        |
| 76 | + !$this->mappers->hasMapperFor($className) ||  | 
                                                        |
| 77 | 77 | $this->mappers->getMapperFor($className)->isTransient();  | 
                                                        
| 78 | 78 | }  | 
                                                        
| 79 | 79 | |
@@ -134,7 +134,7 @@  | 
                                                    ||
| 134 | 134 | * @param string $usage  | 
                                                        
| 135 | 135 | * @param string|null $region  | 
                                                        
| 136 | 136 | *  | 
                                                        
| 137 | - * @return AssociationBuilder  | 
                                                        |
| 137 | + * @return AbstractRelation  | 
                                                        |
| 138 | 138 | */  | 
                                                        
| 139 | 139 | public function cache($usage = 'READ_ONLY', $region = null)  | 
                                                        
| 140 | 140 |      { | 
                                                        
@@ -8,7 +8,7 @@  | 
                                                    ||
| 8 | 8 | trait Primary  | 
                                                        
| 9 | 9 |  { | 
                                                        
| 10 | 10 | /**  | 
                                                        
| 11 | - * @return AssociationBuilder  | 
                                                        |
| 11 | + * @return Primary  | 
                                                        |
| 12 | 12 | */  | 
                                                        
| 13 | 13 | public function primary()  | 
                                                        
| 14 | 14 |      { | 
                                                        
@@ -154,9 +154,9 @@  | 
                                                    ||
| 154 | 154 | */  | 
                                                        
| 155 | 155 | private function customize($name, $initial, $size)  | 
                                                        
| 156 | 156 |      { | 
                                                        
| 157 | - $this->name = $name ?: $this->name;  | 
                                                        |
| 157 | + $this->name = $name ?: $this->name;  | 
                                                        |
| 158 | 158 | $this->initial = $initial ?: $this->initial;  | 
                                                        
| 159 | - $this->size = $size ?: $this->size;  | 
                                                        |
| 159 | + $this->size = $size ?: $this->size;  | 
                                                        |
| 160 | 160 | }  | 
                                                        
| 161 | 161 | |
| 162 | 162 | /**  | 
                                                        
@@ -34,10 +34,10 @@  | 
                                                    ||
| 34 | 34 | protected static function getFactories()  | 
                                                        
| 35 | 35 |      { | 
                                                        
| 36 | 36 | return [  | 
                                                        
| 37 | -            AttributeOverride::class   => function (ClassMetadata $meta, $name) { | 
                                                        |
| 37 | +            AttributeOverride::class   => function(ClassMetadata $meta, $name) { | 
                                                        |
| 38 | 38 | return $meta->hasField($name);  | 
                                                        
| 39 | 39 | },  | 
                                                        
| 40 | -            AssociationOverride::class => function (ClassMetadata $meta, $name) { | 
                                                        |
| 40 | +            AssociationOverride::class => function(ClassMetadata $meta, $name) { | 
                                                        |
| 41 | 41 | return $meta->hasAssociation($name);  | 
                                                        
| 42 | 42 | },  | 
                                                        
| 43 | 43 | ];  |