|
@@ -76,13 +76,13 @@ |
|
|
block discarded – undo |
|
76
|
76
|
*/ |
|
77
|
77
|
protected static function addMacro($method, $key) |
|
78
|
78
|
{ |
|
79
|
|
- Field::macro($method, function (Field $field) use ($key) { |
|
|
79
|
+ Field::macro($method, function(Field $field) use ($key) { |
|
80
|
80
|
$field->nullable(); |
|
81
|
81
|
|
|
82
|
82
|
return new static($field->getClassMetadata(), $field->getName(), $key); |
|
83
|
83
|
}); |
|
84
|
84
|
|
|
85
|
|
- ManyToOne::macro($method, function (ManyToOne $relation) use ($key) { |
|
|
85
|
+ ManyToOne::macro($method, function(ManyToOne $relation) use ($key) { |
|
86
|
86
|
$relation->nullable(); |
|
87
|
87
|
|
|
88
|
88
|
return new static($relation->getClassMetadata(), $relation->getRelation(), $key); |
Please login to merge, or discard this patch.