Skip to content

Commit 087285e

Browse files
committed
Add missing return types
1 parent c492355 commit 087285e

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/Facades/Index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class Index extends Facade
2323
/**
2424
* {@inheritDoc}
2525
*/
26-
protected static function getFacadeAccessor()
26+
protected static function getFacadeAccessor(): string
2727
{
2828
return IndexManagerInterface::class;
2929
}

tests/Integration/RealOpenSearchTestCase.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ class RealOpenSearchTestCase extends TestbenchTestCase
1212
{
1313
protected string $indexPrefix;
1414

15-
protected function getPackageProviders($app)
15+
protected function getPackageProviders($app): array
1616
{
1717
return [
1818
OpenSearchClientServiceProvider::class,
1919
OpenSearchMigrationsServiceProvider::class,
2020
];
2121
}
2222

23-
protected function getEnvironmentSetUp($app)
23+
protected function getEnvironmentSetUp($app): void
2424
{
2525
parent::getEnvironmentSetUp($app);
2626

tests/Integration/TestCase.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@
1010

1111
class TestCase extends TestbenchTestCase
1212
{
13-
protected function getPackageProviders($app)
13+
protected function getPackageProviders($app): array
1414
{
1515
return [
1616
OpenSearchClientServiceProvider::class,
1717
OpenSearchMigrationsServiceProvider::class,
1818
];
1919
}
2020

21-
protected function getEnvironmentSetUp($app)
21+
protected function getEnvironmentSetUp($app): void
2222
{
2323
parent::getEnvironmentSetUp($app);
2424

0 commit comments

Comments
 (0)