phpcs fxes
This commit is contained in:
parent
7f62fba7ef
commit
4d2b00dafc
|
|
@ -85,11 +85,12 @@ class CommentTest extends TestCase
|
|||
self::assertEquals('This is a test comment', (string) $comment);
|
||||
}
|
||||
|
||||
public function testRemoveComment(): void {
|
||||
public function testRemoveComment(): void
|
||||
{
|
||||
$spreadsheet = new Spreadsheet();
|
||||
$sheet = $spreadsheet->getActiveSheet();
|
||||
$sheet->getComment('A2')->getText()->createText('Comment to delete');
|
||||
self::assertArrayHasKey('A2',$sheet->getComments());
|
||||
self::assertArrayHasKey('A2', $sheet->getComments());
|
||||
$sheet->removeComment('A2');
|
||||
self::assertEmpty($sheet->getComments());
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue