Skip to content

Commit

Permalink
Add ReturnTypeWillChange to ReflectionEmbeddedProperty
Browse files Browse the repository at this point in the history
  • Loading branch information
derrabus committed Jun 5, 2021
1 parent ee19cf5 commit 0f6f28b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/Doctrine/ORM/Mapping/ReflectionEmbeddedProperty.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@

use Doctrine\Instantiator\Instantiator;
use ReflectionProperty;
use ReturnTypeWillChange;

/**
* Acts as a proxy to a nested Property structure, making it look like
Expand Down Expand Up @@ -61,6 +62,7 @@ public function __construct(ReflectionProperty $parentProperty, ReflectionProper
/**
* {@inheritDoc}
*/
#[ReturnTypeWillChange]
public function getValue($object = null)
{
$embeddedObject = $this->parentProperty->getValue($object);
Expand All @@ -75,6 +77,7 @@ public function getValue($object = null)
/**
* {@inheritDoc}
*/
#[ReturnTypeWillChange]
public function setValue($object, $value = null)
{
$embeddedObject = $this->parentProperty->getValue($object);
Expand Down

0 comments on commit 0f6f28b

Please sign in to comment.