Issue #3283351 by Sweetchuck: PHP 8.1 Return type of DeprecatedArray::unserialize() and ::serialize()
mentioned in commit 4262003d
mentioned in commit f01f9aab