-
Method convNumEntityToByteValue() has been removed through #95789, thus the one place it was called was removed also. As this method called in that place has ensured that "$value" was always a string, this is not ensured anymore after its removal. Now this ends up calling str_contains(...) with a non-string value which throws an E_DEPRECATED warning in PHP 8.1. This patch adds a *string* type cast to ensure "$value" is always a string, thus avoid calling str_contains(...) with a null value. Resolves: #95827 Releases: master Change-Id: I568ee5cf34342ee2080a54ad8d8810104044b7fd Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/72009 Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de> Reviewed-by: Nikita Hovratov <nikita.h@live.de> Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by: core-ci <typo3@b13.com> Tested-by: Nikita Hovratov <nikita.h@live.de> Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
94682589