From be2b8b15a758a0709fa95fa7300d955ad75af1e6 Mon Sep 17 00:00:00 2001 From: jonassiewertsen Date: Mon, 9 Sep 2024 12:54:09 +0000 Subject: [PATCH] [auto commit] Linting --- src/Tags/Livewire.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Tags/Livewire.php b/src/Tags/Livewire.php index 3418c07..b8a2906 100644 --- a/src/Tags/Livewire.php +++ b/src/Tags/Livewire.php @@ -86,7 +86,7 @@ public function scriptConfig(): string { return \Livewire\Mechanisms\FrontendAssets\FrontendAssets::scriptConfig(); } - + /** * Antlers implementation of @assets - https://livewire.laravel.com/docs/javascript#loading-assets * @@ -95,9 +95,9 @@ public function scriptConfig(): string public function assets(): void { $html = (string) $this->parse(); - + $key = md5($html); - + if (in_array($key, \Livewire\Features\SupportScriptsAndAssets\SupportScriptsAndAssets::$alreadyRunAssetKeys)) { // Skip it... } else { @@ -105,7 +105,7 @@ public function assets(): void \Livewire\store($this->context['__livewire'])->push('assets', $html, $key); } } - + /** * Antlers implementation of @script - https://livewire.laravel.com/docs/javascript#executing-scripts * @@ -114,9 +114,9 @@ public function assets(): void public function script(): void { $html = trim((string) $this->parse()); - + $key = md5($html); - + \Livewire\store($this->context['__livewire'])->push('scripts', $html, $key); } }