From 6ecd5ea03bb6616818fd9cd86ac55003915a33fd Mon Sep 17 00:00:00 2001 From: JoanFo1456 <161775222+JoanFo1456@users.noreply.github.com> Date: Thu, 25 Dec 2025 01:03:37 +0000 Subject: [PATCH] Pint --- starrynight/src/Providers/StarryNightPluginProvider.php | 4 ++-- starrynight/src/StarryNightPlugin.php | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/starrynight/src/Providers/StarryNightPluginProvider.php b/starrynight/src/Providers/StarryNightPluginProvider.php index 5ed6784..396aa82 100644 --- a/starrynight/src/Providers/StarryNightPluginProvider.php +++ b/starrynight/src/Providers/StarryNightPluginProvider.php @@ -34,9 +34,9 @@ private function ensureCssPublished(): void ]; foreach ($pairs as [$source, $destination]) { - if (! File::exists($destination) && File::exists($source)) { + if (!File::exists($destination) && File::exists($source)) { $dir = dirname($destination); - if (! File::isDirectory($dir)) { + if (!File::isDirectory($dir)) { File::makeDirectory($dir, 0755, true); } File::copy($source, $destination); diff --git a/starrynight/src/StarryNightPlugin.php b/starrynight/src/StarryNightPlugin.php index 7279ae5..003e405 100644 --- a/starrynight/src/StarryNightPlugin.php +++ b/starrynight/src/StarryNightPlugin.php @@ -23,9 +23,9 @@ public function register(Panel $panel): void foreach ($pairs as [$source, $destination]) { try { - if (! File::exists($destination) && File::exists($source)) { + if (!File::exists($destination) && File::exists($source)) { $dir = dirname($destination); - if (! File::isDirectory($dir)) { + if (!File::isDirectory($dir)) { File::makeDirectory($dir, 0755, true); } File::copy($source, $destination); @@ -145,7 +145,7 @@ function apply() { }); $panel->renderHook('panels::body.start', function () { - $meteorHtml = '
+ $meteorHtml = '
@@ -157,7 +157,7 @@ function apply() {
'; - $meteorCss = <<<'CSS' + $meteorCss = <<<'CSS'