[PR #496] [MERGED] Testing for key existance in basicEntityPersister / getIndividualValue #8281

Open
opened 2026-01-22 15:59:12 +01:00 by admin · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/doctrine/orm/pull/496
Author: @arse
Created: 11/2/2012
Status: Merged
Merged: 11/6/2012
Merged by: @guilhermeblanco

Base: masterHead: master


📝 Commits (3)

  • a65996f notice is thrown up if no identifier values found
  • 185a0fb refactoring getIndividualValue for valid key value
  • 73e6164 Update lib/Doctrine/ORM/Persisters/BasicEntityPersister.php

📊 Changes

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

View changed files

📝 lib/Doctrine/ORM/Persisters/BasicEntityPersister.php (+5 -1)

📄 Description

wrapping the setting of value with an array_key_exists to prevent a notice from being thrown


🔄 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/496 **Author:** [@arse](https://github.com/arse) **Created:** 11/2/2012 **Status:** ✅ Merged **Merged:** 11/6/2012 **Merged by:** [@guilhermeblanco](https://github.com/guilhermeblanco) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (3) - [`a65996f`](https://github.com/doctrine/orm/commit/a65996f74ccb703ea04ba83db2e55565fa01ad03) notice is thrown up if no identifier values found - [`185a0fb`](https://github.com/doctrine/orm/commit/185a0fb19c80e5ee28ff4c9d58209993b636aa62) refactoring getIndividualValue for valid key value - [`73e6164`](https://github.com/doctrine/orm/commit/73e61640962a90f0794663357bd1650ce2db200c) Update lib/Doctrine/ORM/Persisters/BasicEntityPersister.php ### 📊 Changes **1 file changed** (+5 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `lib/Doctrine/ORM/Persisters/BasicEntityPersister.php` (+5 -1) </details> ### 📄 Description wrapping the setting of value with an array_key_exists to prevent a notice from being thrown --- <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 15:59:12 +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#8281