Release 2.12 (#4609)
This commit is contained in:
@@ -38,7 +38,7 @@ class DateFormatterTest extends AbstractFormatterTest
|
||||
return Date::PHPToExcel($this->date);
|
||||
}
|
||||
|
||||
public function testFormattedValueWithInvalidValue()
|
||||
public function testFormattedValueWithInvalidValue(): void
|
||||
{
|
||||
$this->expectException(\InvalidArgumentException::class);
|
||||
$this->expectExceptionMessage('Unsupported value given, only DateTimeInterface is supported');
|
||||
@@ -50,7 +50,7 @@ class DateFormatterTest extends AbstractFormatterTest
|
||||
$sut->setFormattedValue($worksheet, 1, 1, 'sdfsdf');
|
||||
}
|
||||
|
||||
protected function assertCellStyle(Style $style)
|
||||
public function assertCellStyle(Style $style): void
|
||||
{
|
||||
self::assertEquals(NumberFormat::FORMAT_DATE_YYYYMMDD2, $style->getNumberFormat()->getFormatCode());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user