Skip to content

Commit 7543457

Browse files
author
David Prévot
committed
Compatibility with recent PHPUnit
1 parent 2e32a6d commit 7543457

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/unit/TypeResolverTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class TypeResolverTest extends TestCase
3737
*
3838
* @phpcsSuppress SlevomatCodingStandard.TypeHints.TypeHintDeclaration.MissingReturnTypeHint
3939
*/
40-
public function tearDown()
40+
public function tearDown() : void
4141
{
4242
m::close();
4343
}

tests/unit/Types/ContextFactoryTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ public function assertNamespaceAliasesFrom(Context $context)
192192
$this->assertSame($expected, $actual);
193193
}
194194

195-
public function tearDown()
195+
public function tearDown() : void
196196
{
197197
m::close();
198198
}

0 commit comments

Comments
 (0)