From 9ea1f22924eae0e5299d25719576f4866e87c832 Mon Sep 17 00:00:00 2001 From: Michel Bardelmeijer Date: Fri, 24 Feb 2023 09:56:30 +0100 Subject: [PATCH] Formatting --- src/LivewireExtension.php | 4 ++-- tests/TestCase.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/LivewireExtension.php b/src/LivewireExtension.php index d3955fa..189c7f0 100644 --- a/src/LivewireExtension.php +++ b/src/LivewireExtension.php @@ -8,7 +8,7 @@ class LivewireExtension extends AbstractExtension { - public function getFunctions() + public function getFunctions(): array { return [ new TwigFunction('livewireStyles', [$this, 'livewireStyles'], ['is_safe' => ['html']]), @@ -26,7 +26,7 @@ public function livewireScripts() return Livewire::scripts(); } - public function getTokenParsers() + public function getTokenParsers(): array { return [ new LivewireTokenParser(), diff --git a/tests/TestCase.php b/tests/TestCase.php index 9de370c..8128b7b 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -9,7 +9,7 @@ class TestCase extends BaseTestCase { - protected function getPackageProviders($app) + protected function getPackageProviders($app): array { return [ LivewireServiceProvider::class, @@ -18,7 +18,7 @@ protected function getPackageProviders($app) ]; } - protected function getEnvironmentSetUp($app) + protected function getEnvironmentSetUp($app): void { $app['config']->set('view.paths', [ __DIR__.'/views',