mirror of https://tt-rss.org/git/tt-rss.git
Merge branch 'feature/php84-explicit-nullable-params-2' into 'master'
Switch 2 more implicitly nullable params to explicitly nullable. See merge request tt-rss/tt-rss!27
This commit is contained in:
commit
b1e3d660e4
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue