Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: Joao Jacome <[email protected]>
  • Loading branch information
joaojacome committed Sep 10, 2022
1 parent bf06ece commit 4159beb
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/Accessor/DefaultAccessorStrategy.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,6 @@ public function setValue(object $object, $value, PropertyMetadata $metadata, Des
throw new LogicException(sprintf('%s on %s is read only.', $metadata->name, $metadata->class));
}

// if (null === $value) {
// return;
// }

if (null !== $metadata->setter) {
$object->{$metadata->setter}($value);

Expand Down

0 comments on commit 4159beb

Please sign in to comment.