Reduce PHPStan error in tests

This commit is contained in:
Adrien Crivelli
2021-04-12 11:10:23 +09:00
parent 89aa7e6fcd
commit 49f87de165
433 changed files with 1596 additions and 7199 deletions
@@ -19,7 +19,7 @@ class IsoWeekNumTest extends AllSetupTeardown
self::assertSame($expectedResult, $sheet->getCell('A1')->getCalculatedValue());
}
public function providerISOWEEKNUM()
public function providerISOWEEKNUM(): array
{
return require 'tests/data/Calculation/DateTime/ISOWEEKNUM.php';
}
@@ -40,7 +40,7 @@ class IsoWeekNumTest extends AllSetupTeardown
self::assertSame($expectedResult, $sheet->getCell('A1')->getCalculatedValue());
}
public function providerISOWEEKNUM1904()
public function providerISOWEEKNUM1904(): array
{
return require 'tests/data/Calculation/DateTime/ISOWEEKNUM1904.php';
}