From 26a89562cd8ecb48410fbe6151ee475717ca575f Mon Sep 17 00:00:00 2001 From: Matthew Brown Date: Sat, 4 Jan 2020 16:35:06 -0500 Subject: [PATCH] Add return type --- tests/BadFormatTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/BadFormatTest.php b/tests/BadFormatTest.php index f945abf91..a99f062d9 100644 --- a/tests/BadFormatTest.php +++ b/tests/BadFormatTest.php @@ -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);