From fee2cbe6b4ab8daece318bf9a17c890a6749b88f Mon Sep 17 00:00:00 2001 From: Vitaliy Chesnokov Date: Wed, 10 Jul 2019 15:04:29 +0300 Subject: [PATCH] Make code php 7.3 lint-compatible --- lib/Doctrine/ORM/UnitOfWork.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Doctrine/ORM/UnitOfWork.php b/lib/Doctrine/ORM/UnitOfWork.php index ae0d22f01..5f13887e8 100644 --- a/lib/Doctrine/ORM/UnitOfWork.php +++ b/lib/Doctrine/ORM/UnitOfWork.php @@ -2637,7 +2637,7 @@ class UnitOfWork implements PropertyChangedListener $class->reflFields[$field]->setValue($entity, $data[$field]); $this->originalEntityData[$oid][$field] = $data[$field]; - continue; + break; } $associatedId = array(); @@ -2666,7 +2666,7 @@ class UnitOfWork implements PropertyChangedListener $class->reflFields[$field]->setValue($entity, null); $this->originalEntityData[$oid][$field] = null; - continue; + break; } if ( ! isset($hints['fetchMode'][$class->name][$field])) {