removed null returns
This commit is contained in:
@@ -78,7 +78,7 @@ function pull_db(): array {
|
|||||||
return $pbdb;
|
return $pbdb;
|
||||||
}
|
}
|
||||||
|
|
||||||
function filter_extensions(array &$pbdb): null {
|
function filter_extensions(array &$pbdb) {
|
||||||
global $LIST_FILTER_TYPE;
|
global $LIST_FILTER_TYPE;
|
||||||
|
|
||||||
if ($LIST_FILTER_TYPE == "whitelist") {
|
if ($LIST_FILTER_TYPE == "whitelist") {
|
||||||
@@ -146,7 +146,7 @@ function blacklist_extension_filter(array &$pbdb) {
|
|||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|
||||||
function prepend_contact_list(array &$pbdb): null {
|
function prepend_contact_list(array &$pbdb) {
|
||||||
global $PREPEND_EXTENSIONS;
|
global $PREPEND_EXTENSIONS;
|
||||||
array_unshift($pbdb, ...$PREPEND_EXTENSIONS);
|
array_unshift($pbdb, ...$PREPEND_EXTENSIONS);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user