Skip to content

Commit

Permalink
Ported PR doctrine#7325 (making code php 7.3 lint-compatible) to v2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
stollr committed Oct 1, 2019
1 parent 19db751 commit f4175a3
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 @@ -2633,7 +2633,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 @@ -2662,7 +2662,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 f4175a3

Please sign in to comment.