@@ -124,7 +124,7 @@ |
||
| 124 | 124 | } |
| 125 | 125 | |
| 126 | 126 | /** |
| 127 | - * @return \Doctrine\ORM\Mapping\ClassMetadata|ExtensibleClassMetadata |
|
| 127 | + * @return \Doctrine\ORM\Mapping\ClassMetadata |
|
| 128 | 128 | */ |
| 129 | 129 | public function getClassMetadata() |
| 130 | 130 | { |
@@ -48,15 +48,15 @@ |
||
| 48 | 48 | */ |
| 49 | 49 | public static function enable() |
| 50 | 50 | { |
| 51 | - Field::macro(self::MACRO_METHOD, function (Field $builder) { |
|
| 51 | + Field::macro(self::MACRO_METHOD, function(Field $builder) { |
|
| 52 | 52 | return new static($builder->getClassMetadata(), $builder->getName()); |
| 53 | 53 | }); |
| 54 | 54 | |
| 55 | - ManyToOne::macro(self::MACRO_METHOD, function (ManyToOne $builder) { |
|
| 55 | + ManyToOne::macro(self::MACRO_METHOD, function(ManyToOne $builder) { |
|
| 56 | 56 | return new static($builder->getClassMetadata(), $builder->getRelation()); |
| 57 | 57 | }); |
| 58 | 58 | |
| 59 | - ManyToMany::macro(self::MACRO_METHOD, function (ManyToMany $builder) { |
|
| 59 | + ManyToMany::macro(self::MACRO_METHOD, function(ManyToMany $builder) { |
|
| 60 | 60 | return new static($builder->getClassMetadata(), $builder->getRelation()); |
| 61 | 61 | }); |
| 62 | 62 | } |
@@ -46,7 +46,7 @@ |
||
| 46 | 46 | */ |
| 47 | 47 | public static function enable() |
| 48 | 48 | { |
| 49 | - Field::macro(self::MACRO_METHOD, function (Field $builder) { |
|
| 49 | + Field::macro(self::MACRO_METHOD, function(Field $builder) { |
|
| 50 | 50 | return new static($builder->getClassMetadata(), $builder->getName()); |
| 51 | 51 | }); |
| 52 | 52 | } |