mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
[PR #427] [MERGED] Fix ORMInvalidArgumentException factory methods with return instead of throw #8171
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/doctrine/orm/pull/427
Author: @chEbba
Created: 8/19/2012
Status: ✅ Merged
Merged: 8/29/2012
Merged by: @beberlei
Base:
2.3← Head:return-exception📝 Commits (1)
3aaa90eFix ORMInvalidArgumentException factory methods with return instead of throw📊 Changes
1 file changed (+6 additions, -6 deletions)
View changed files
📝
lib/Doctrine/ORM/ORMInvalidArgumentException.php(+6 -6)📄 Description
Exception factories should not throw exceptions but just return them
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.