Skip to content

Commit

Permalink
Remove second arg from spl_autoload_register, in accordance with PHP8…
Browse files Browse the repository at this point in the history
… updates
  • Loading branch information
HughbertD committed Aug 15, 2023
1 parent ddbeab8 commit cacb065
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/functions/core.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ function setup() {
return __NAMESPACE__ . "\\$function";
};

spl_autoload_register( $n( 'autoload' ), false );
spl_autoload_register($n( 'autoload' ));

include_once GATHERCONTENT_PATH . 'vendor/autoload.php';

Expand Down

0 comments on commit cacb065

Please sign in to comment.