BaseType::isCorrectType() method > make static

This commit is contained in:
Meritoo
2019-05-05 23:05:42 +02:00
parent dd5ac0f7e6
commit a6b2704c66
10 changed files with 86 additions and 79 deletions

View File

@@ -649,13 +649,9 @@ class DateTest extends BaseTestCase
self::assertTrue($randomDate >= $intervalMinDate && $randomDate <= $intervalMaxDate);
}
/**
* @param mixed $period Empty value, e.g. ""
* @dataProvider provideEmptyScalarValue
*/
public function testGetDatesForPeriodUsingEmptyPeriod($period): void
public function testGetDatesForPeriodUsingEmptyString(): void
{
self::assertNull(Date::getDatesForPeriod($period));
self::assertNull(Date::getDatesForPeriod(''));
}
/**