diff --git a/tests/PhpSpreadsheetTests/A1LocaleGeneratorTest.php b/tests/PhpSpreadsheetTests/A1LocaleGeneratorTest.php index 64da06639..243705c36 100644 --- a/tests/PhpSpreadsheetTests/A1LocaleGeneratorTest.php +++ b/tests/PhpSpreadsheetTests/A1LocaleGeneratorTest.php @@ -1,5 +1,7 @@ returnDateType); } - private function expectationIsTemplate(string $expectedResult): bool + private function expectationIsTemplate(mixed $expectedResult): bool { return is_string($expectedResult) && substr($expectedResult, 0, 2) === 'Y-'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/DayTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/DayTest.php index 657984335..83587a45e 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/DayTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/DayTest.php @@ -1,5 +1,7 @@