1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-26 20:34:47 +01:00

Add return type

This commit is contained in:
Matthew Brown 2020-01-04 16:35:06 -05:00
parent 37810b5a44
commit 26a89562cd

View File

@ -107,7 +107,7 @@ class BadFormatTest extends TestCase
$this->analyzeFile('somefile.php', new Context());
}
public function testBadArray()
public function testBadArray() : void
{
$this->expectExceptionMessage('ParseError - somefile.php:2');
$this->expectException(\Psalm\Exception\CodeException::class);