@@ -68,14 +68,14 @@ |
||
| 68 | 68 | */ |
| 69 | 69 | public static function enable() |
| 70 | 70 | { |
| 71 | - Builder::macro(static::MACRO_METHOD, function (Builder $builder, $fieldName, $type = 'dateTime') { |
|
| 71 | + Builder::macro(static::MACRO_METHOD, function(Builder $builder, $fieldName, $type = 'dateTime') { |
|
| 72 | 72 | |
| 73 | 73 | $builder->{$type}($fieldName)->nullable(); |
| 74 | 74 | |
| 75 | 75 | return new static($builder->getClassMetadata(), $fieldName); |
| 76 | 76 | }); |
| 77 | 77 | |
| 78 | - Field::macro(static::MACRO_METHOD, function (Field $builder) { |
|
| 78 | + Field::macro(static::MACRO_METHOD, function(Field $builder) { |
|
| 79 | 79 | return new static($builder->getClassMetadata(), $builder->getName()); |
| 80 | 80 | }); |
| 81 | 81 | } |