Skip to content

Commit

Permalink
fixes release for 2.9.2 (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
sspat authored Jan 17, 2022
1 parent 5d87638 commit c2f1d69
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ If you choose this path, you can install this package in the following steps:
```
Then depending on the version of doctrine/orm you want to use:

- run `composer require sspat/doctrine-nullable-embeddables:v2.9.1 doctrine/orm:2.9.2`
- run `composer require sspat/doctrine-nullable-embeddables:v2.9.2 doctrine/orm:2.9.2`
- run `composer require sspat/doctrine-nullable-embeddables:v2.9.1 doctrine/orm:2.9.1`
- run `composer require sspat/doctrine-nullable-embeddables:v2.9.0 doctrine/orm:2.9.0`
- run `composer require sspat/doctrine-nullable-embeddables:v2.8.5 doctrine/orm:2.8.5`
Expand Down
10 changes: 5 additions & 5 deletions patch/nullable_embeddables.patch
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
diff --git a/lib/Doctrine/ORM/Mapping/ReflectionEmbeddedProperty.php b/lib/Doctrine/ORM/Mapping/ReflectionEmbeddedProperty.php
index d08be94..47bc91d 100644
index 49a2ab2..8f3d6f7 100644
--- a/lib/Doctrine/ORM/Mapping/ReflectionEmbeddedProperty.php
+++ b/lib/Doctrine/ORM/Mapping/ReflectionEmbeddedProperty.php
@@ -65,13 +65,15 @@ class ReflectionEmbeddedProperty extends ReflectionProperty
#[ReturnTypeWillChange]
@@ -63,13 +63,15 @@ class ReflectionEmbeddedProperty extends ReflectionProperty
*/
public function getValue($object = null)
{
- $embeddedObject = $this->parentProperty->getValue($object);
Expand All @@ -20,8 +20,8 @@ index d08be94..47bc91d 100644
}

/**
@@ -80,7 +82,20 @@ class ReflectionEmbeddedProperty extends ReflectionProperty
#[ReturnTypeWillChange]
@@ -77,7 +79,20 @@ class ReflectionEmbeddedProperty extends ReflectionProperty
*/
public function setValue($object, $value = null)
{
- $embeddedObject = $this->parentProperty->getValue($object);
Expand Down

0 comments on commit c2f1d69

Please sign in to comment.