mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-08-30 20:18:00 +00:00
Reduce PHPStan error in tests
This commit is contained in:
@@ -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';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user