This commit is contained in:
smiley
2022-10-05 20:15:44 +02:00
parent 59141a38c9
commit 40e8a6ecbc
2 changed files with 5 additions and 2 deletions
+4 -2
View File
@@ -128,7 +128,8 @@ abstract class DataInterfaceTestAbstract extends TestCase{
$this->expectException(QRCodeDataException::class);
$this->expectExceptionMessage('invalid data');
$this->QRData->setData([new $this->FQN('##')]);
/** @phan-suppress-next-line PhanNoopNew */
new $this->FQN('##');
}
/**
@@ -138,7 +139,8 @@ abstract class DataInterfaceTestAbstract extends TestCase{
$this->expectException(QRCodeDataException::class);
$this->expectExceptionMessage('invalid data');
$this->QRData->setData([new $this->FQN('')]);
/** @phan-suppress-next-line PhanNoopNew */
new $this->FQN('');
}
}