Plugin Directory

Changeset 3351731


Ignore:
Timestamp:
08/28/2025 05:52:25 AM (6 months ago)
Author:
bitslip6
Message:

4.7.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bitfire/trunk/src/util.php

    r3351726 r3351731  
    725725 * only used in api.php
    726726 */
    727 function file_index(string $dirname, string $include_regex_filter = NULL, callable $write_fn, bool $root = true) {
     727function file_index(string $dirname, ?string $include_regex_filter = NULL, callable $write_fn, bool $root = true) {
    728728    if (!is_dir($dirname)) { return; }
    729729    static $examined = [];
     
    19771977 * PURE: IDEMPOTENT, REFERENTIAL INTEGRITY
    19781978 */
    1979 function cache_prevent(Effect $effect = null) : Effect {
     1979function cache_prevent(?Effect $effect = null) : Effect {
    19801980    if ($effect == null) {
    19811981        $effect = new Effect();
Note: See TracChangeset for help on using the changeset viewer.