1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-30 04:39:00 +01:00

Remove types from function

This commit is contained in:
Matthew Brown 2018-07-22 19:29:04 -04:00
parent d3fc9a51e0
commit 5ca35a0635

View File

@ -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 */