Skip to content

Commit

Permalink
Merge pull request #6 from fidanf/symfony4-update
Browse files Browse the repository at this point in the history
Make code php 7.3 lint-compatible
  • Loading branch information
Beny13 authored Aug 12, 2019
2 parents fe8e9ad + 006eca8 commit 99821e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Doctrine/ORM/UnitOfWork.php
Original file line number Diff line number Diff line change
Expand Up @@ -2650,7 +2650,7 @@ public function createEntity($className, array $data, &$hints = array())
$class->reflFields[$field]->setValue($entity, $data[$field]);
$this->originalEntityData[$oid][$field] = $data[$field];

continue;
break;
}

$associatedId = array();
Expand Down Expand Up @@ -2679,7 +2679,7 @@ public function createEntity($className, array $data, &$hints = array())
$class->reflFields[$field]->setValue($entity, null);
$this->originalEntityData[$oid][$field] = null;

continue;
break;
}

if ( ! isset($hints['fetchMode'][$class->name][$field])) {
Expand Down

0 comments on commit 99821e6

Please sign in to comment.