Skip to content

Commit

Permalink
Fix PR issues
Browse files Browse the repository at this point in the history
  • Loading branch information
jusephe committed Oct 11, 2022
1 parent c3a3ef3 commit 3121651
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/Doctrine/ORM/UnitOfWork.php
Original file line number Diff line number Diff line change
Expand Up @@ -1284,7 +1284,7 @@ private function getCommitOrder(): array
// are not yet available.
$newNodes = [];

foreach (array_merge($this->entityInsertions, $this->entityUpdates, $this->entityDeletions) as $entity) {
foreach (array_merge($this->entityInsertions, $this->entityUpdates) as $entity) {
$class = $this->em->getClassMetadata(get_class($entity));

if ($calc->hasNode($class->name)) {
Expand Down
2 changes: 1 addition & 1 deletion tests/Doctrine/Tests/ORM/Functional/Ticket/GH9376Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ protected function tearDown(): void
parent::tearDown();
}

public function testIssueRemove(): void
public function testRemoveCircularRelatedEntities(): void
{
$product = new GH9376Product();
$gift = new GH9376Gift($product);
Expand Down

0 comments on commit 3121651

Please sign in to comment.