[PR #642] [CLOSED] replaced direct class in instance creation #8488

Open
opened 2026-01-22 16:00:09 +01:00 by admin · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/doctrine/orm/pull/642
Author: @dmishh
Created: 4/4/2013
Status: Closed

Base: masterHead: patch-1


📝 Commits (1)

  • 38afd9b replaced direct class in instance creation

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 lib/Doctrine/ORM/EntityManager.php (+1 -1)

📄 Description

return new EntityManager() -> return new static() on line 945
made code more reusable


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/doctrine/orm/pull/642 **Author:** [@dmishh](https://github.com/dmishh) **Created:** 4/4/2013 **Status:** ❌ Closed **Base:** `master` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`38afd9b`](https://github.com/doctrine/orm/commit/38afd9b9c562a634de922339ec6894371af43271) replaced direct class in instance creation ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `lib/Doctrine/ORM/EntityManager.php` (+1 -1) </details> ### 📄 Description return new EntityManager() -> return new static() on line 945 made code more reusable --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
admin added the pull-request label 2026-01-22 16:00:09 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#8488