From 5ca35a0635234e8bce82a6bcf14512191e70bf33 Mon Sep 17 00:00:00 2001 From: Matthew Brown Date: Sun, 22 Jul 2018 19:29:04 -0400 Subject: [PATCH] Remove types from function --- tests/TestCase.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/TestCase.php b/tests/TestCase.php index 16e12dbb6..5fa2a4cae 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -100,7 +100,12 @@ class TestCase extends BaseTestCase ); $file_checker->analyze($context); } - protected function getTestName(bool $withDataSet = true): string + + /** + * @param bool $withDataSet + * @return string + */ + protected function getTestName($withDataSet = true) { $name = parent::getName($withDataSet); /** @psalm-suppress DocblockTypeContradiction PHPUnit 7 introduced nullable name */