Skip to content

Fixed PHP 8.1 deprecation warnings for null array offset in BelongsTo and MorphTo relationships. - #28

Closed
runoob-coder wants to merge 1 commit into
hyperf:masterfrom
runoob-coder:master
Closed

runoob-coder wants to merge 1 commit into
hyperf:masterfrom
runoob-coder:master

Conversation

@runoob-coder

Copy link
Copy Markdown
[2026-10-10 11:56:04.383] [ERROR] Using null as an array offset is deprecated, use an empty string instead[162] in /vendor/hyperf/database/src/Model/Relations/BelongsTo.php

@github-actions

Copy link
Copy Markdown

Hi, this is a READ-ONLY repository, please submit your PR on the https://github.com/hyperf/hyperf repository.

This Pull Request will close automatically.

Thanks!

@github-actions github-actions Bot closed this Oct 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant