Skip to content
Permalink
Browse files

Add return type

  • Loading branch information
muglug committed Jan 4, 2020
1 parent 37810b5 commit 26a89562cd8ecb48410fbe6151ee475717ca575f
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/BadFormatTest.php
@@ -107,7 +107,7 @@ interface B {}'
$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);

0 comments on commit 26a8956

Please sign in to comment.
You can’t perform that action at this time.