From f0c8affc073a320bd4933047fe10e6f93fe6f4ae Mon Sep 17 00:00:00 2001 From: Shish Date: Wed, 11 Jan 2023 00:51:57 +0000 Subject: [PATCH] fmt --- core/database.php | 3 ++- core/send_event.php | 3 ++- index.php | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) 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 @@