Skip to content

Remove Deprecated notice with empty field description#789

Open
Ilya-Zhulin wants to merge 2 commits intoOctopoos:masterfrom
Ilya-Zhulin:patch-8
Open

Remove Deprecated notice with empty field description#789
Ilya-Zhulin wants to merge 2 commits intoOctopoos:masterfrom
Ilya-Zhulin:patch-8

Conversation

@Ilya-Zhulin
Copy link
Copy Markdown
Contributor

This trim isn't really needed here, but PHP 8+ shows a message like Deprecated: trim(): Passing null to parameter #1 of type string is deprecated when field description is empty. trim will be applied in next string without any problems.

This `trim` isn't really needed here, but PHP 8+ shows a message like ```Deprecated: trim(): Passing null to parameter Octopoos#1  of type string is deprecated``` when field description is empty.
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