From 3fbf32ed14c40380c1b77d2e06b2dd141d138968 Mon Sep 17 00:00:00 2001 From: Pig Fang Date: Thu, 26 Mar 2020 10:32:36 +0800 Subject: [PATCH] clean up --- app/Services/Hook.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Services/Hook.php b/app/Services/Hook.php index 6a94c1de..3ff9d8d8 100644 --- a/app/Services/Hook.php +++ b/app/Services/Hook.php @@ -63,7 +63,7 @@ class Hook }); } - public static function registerPluginTransScripts(string $name, $pages = ['*'], $priority = 999): void + public static function registerPluginTransScripts(string $name, $pages = ['*']): void { Event::listen(Events\RenderingFooter::class, function ($event) use ($name, $pages) { foreach ($pages as $pattern) { @@ -82,7 +82,7 @@ class Hook return; } - }, $priority); + }); } public static function addStyleFileToPage($urls, $pages = ['*']): void