Deprecation: #92607 - Deprecated GeneralUtility::uniqueList¶
See Issue #92607
Since over a decade, the
GeneralUtility::uniqueList() method does not
array as first argument anymore. Furthermore the second
parameter was since then not longer be used. Both have thrown an
As the method doesn’t belong to
GeneralUtility at all, a new refactored
version was added to
StringUtility. Therefore, the exceptions were removed
along with the unused second parameter. The first parameter is now type hinted
string and the return type
string was added. Furthermore, the
PHPDoc was updated accordingly.
Calling the method will trigger a PHP deprecation notice.
TYPO3 installations with custom third-party extensions calling this method.
Use the new
StringUtility::uniqueList() method instead and ensure you
pass a valid string as first argument and ommit the second argument.