bool reutnr type removed

This commit is contained in:
2026-02-02 11:25:57 -06:00
parent bd9f4c074d
commit 598af2c954

View File

@@ -91,7 +91,7 @@ function filter_extensions(array &$pbdb): null {
} }
} }
function blacklist_terms(array &$pbdb): bool { function blacklist_terms(array &$pbdb) {
global $BLACKLISTED_TERMS; global $BLACKLISTED_TERMS;
$pbdb = array_values(array_filter($pbdb, function ($item) use ($BLACKLISTED_TERMS) { $pbdb = array_values(array_filter($pbdb, function ($item) use ($BLACKLISTED_TERMS) {
@@ -110,7 +110,7 @@ function blacklist_terms(array &$pbdb): bool {
})); }));
} }
function whitelist_extension_filter(array &$pbdb): bool { function whitelist_extension_filter(array &$pbdb) {
global $EXTENSION_FILTER_LIST; global $EXTENSION_FILTER_LIST;
$allowed = array_fill_keys( $allowed = array_fill_keys(