diff --git a/core/database.php b/core/database.php index 1b41de1e..d9215cf0 100644 --- a/core/database.php +++ b/core/database.php @@ -4,7 +4,8 @@ declare(strict_types=1); namespace Shimmie2; -use FFSPHP\PDO, FFSPHP\PDOStatement; +use FFSPHP\PDO; +use FFSPHP\PDOStatement; enum DatabaseDriverID: string { diff --git a/core/send_event.php b/core/send_event.php index dfd3cb2a..ac989cfb 100644 --- a/core/send_event.php +++ b/core/send_event.php @@ -62,7 +62,8 @@ function _set_event_listeners(): void } } -function _namespaced_class_name(string $class): string { +function _namespaced_class_name(string $class): string +{ return str_replace("Shimmie2\\", "", $class); } diff --git a/index.php b/index.php index 357bfd6b..ff0eecff 100644 --- a/index.php +++ b/index.php @@ -1,4 +1,5 @@