diff --git a/gen_pc_sidecar.php b/gen_pc_sidecar.php index 2eceb7d..b690119 100755 --- a/gen_pc_sidecar.php +++ b/gen_pc_sidecar.php @@ -78,7 +78,7 @@ function pull_db(): array { return $pbdb; } -function filter_extensions(array &$pbdb): null { +function filter_extensions(array &$pbdb) { global $LIST_FILTER_TYPE; 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; array_unshift($pbdb, ...$PREPEND_EXTENSIONS); }