[PHP 8.4] Fixed some deprecations (#1718)

* [PHP 8.4] Fixed some deprecations

* Update Post.php

* Update Common.php

* Update CHANGELOG.md

* Updated

* Updated
This commit is contained in:
Roman Kelesidis 2024-12-19 00:37:28 +07:00 committed by GitHub
commit 8a0cd5cb84
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 156 additions and 667 deletions

View file

@ -2126,7 +2126,7 @@ function user_birthday_icon($user_birthday, $user_id): string
* @param int|null $userId
* @return array|null
*/
function getBanInfo(int $userId = null): ?array
function getBanInfo(?int $userId = null): ?array
{
global $datastore;