diff options
| author | Andrew Dolgov <fox@fakecake.org> | 2024-06-14 13:47:14 +0300 |
|---|---|---|
| committer | Andrew Dolgov <fox@fakecake.org> | 2024-06-14 13:47:14 +0300 |
| commit | cc51487f080166b2a21eb529f1d4fc29994d9ff1 (patch) | |
| tree | e87e5ce6c96a233b9f50c8fb456b02834a585ec1 /classes/Prefs.php | |
| parent | 66db7dc0ac996f528f6ff9d71f3cc7ec30d65278 (diff) | |
| parent | 9e6684e9277dace834ef10dab21c5b585f291675 (diff) | |
Merge branch 'master' into weblate-integration
Diffstat (limited to 'classes/Prefs.php')
| -rw-r--r-- | classes/Prefs.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/Prefs.php b/classes/Prefs.php index e315802a9..f778f0f84 100644 --- a/classes/Prefs.php +++ b/classes/Prefs.php @@ -193,14 +193,14 @@ class Prefs { /** * @return array<int, array<string, bool|int|null|string>> */ - static function get_all(int $owner_uid, int $profile_id = null) { + static function get_all(int $owner_uid, ?int $profile_id = null) { return self::get_instance()->_get_all($owner_uid, $profile_id); } /** * @return array<int, array<string, bool|int|null|string>> */ - private function _get_all(int $owner_uid, int $profile_id = null) { + private function _get_all(int $owner_uid, ?int $profile_id = null) { $rv = []; $ref = new ReflectionClass(get_class($this)); |