[PR #33] [MERGED] Fix Trying to access array offset on value of type null #43

Closed
opened 2026-01-24 11:24:55 +01:00 by admin · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/doctrine/reflection/pull/33
Author: @DieterHolvoet
Created: 3/10/2020
Status: Merged
Merged: 4/26/2020
Merged by: @greg0ire

Base: 1.1.xHead: issue-32


📝 Commits (1)

  • 41a2f0f Add type check to prevent PHP 7.4 warnings

📊 Changes

3 files changed (+42 additions, -1 deletions)

View changed files

📝 lib/Doctrine/Common/Reflection/StaticReflectionParser.php (+5 -1)
tests/Doctrine/Tests_PHP74/Common/Reflection/Dummies/TokenParserAnonymousFunctionTestClass.php (+13 -0)
tests/Doctrine/Tests_PHP74/Common/Reflection/TokenParserAnonymousFunctionTest.php (+24 -0)

📄 Description

Fixes #32


🔄 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/reflection/pull/33 **Author:** [@DieterHolvoet](https://github.com/DieterHolvoet) **Created:** 3/10/2020 **Status:** ✅ Merged **Merged:** 4/26/2020 **Merged by:** [@greg0ire](https://github.com/greg0ire) **Base:** `1.1.x` ← **Head:** `issue-32` --- ### 📝 Commits (1) - [`41a2f0f`](https://github.com/doctrine/reflection/commit/41a2f0f445d9920caa15d0ff27c3adff71c59425) Add type check to prevent PHP 7.4 warnings ### 📊 Changes **3 files changed** (+42 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `lib/Doctrine/Common/Reflection/StaticReflectionParser.php` (+5 -1) ➕ `tests/Doctrine/Tests_PHP74/Common/Reflection/Dummies/TokenParserAnonymousFunctionTestClass.php` (+13 -0) ➕ `tests/Doctrine/Tests_PHP74/Common/Reflection/TokenParserAnonymousFunctionTest.php` (+24 -0) </details> ### 📄 Description Fixes #32 --- <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-24 11:24:55 +01:00
admin closed this issue 2026-01-24 11:24:56 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/reflection#43