Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
mbardelmeijer committed Feb 24, 2023
1 parent d65ade4 commit 9ea1f22
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/LivewireExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

class LivewireExtension extends AbstractExtension
{
public function getFunctions()
public function getFunctions(): array
{
return [
new TwigFunction('livewireStyles', [$this, 'livewireStyles'], ['is_safe' => ['html']]),
Expand All @@ -26,7 +26,7 @@ public function livewireScripts()
return Livewire::scripts();
}

public function getTokenParsers()
public function getTokenParsers(): array
{
return [
new LivewireTokenParser(),
Expand Down
4 changes: 2 additions & 2 deletions tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

class TestCase extends BaseTestCase
{
protected function getPackageProviders($app)
protected function getPackageProviders($app): array
{
return [
LivewireServiceProvider::class,
Expand All @@ -18,7 +18,7 @@ protected function getPackageProviders($app)
];
}

protected function getEnvironmentSetUp($app)
protected function getEnvironmentSetUp($app): void
{
$app['config']->set('view.paths', [
__DIR__.'/views',
Expand Down

0 comments on commit 9ea1f22

Please sign in to comment.