remove method name on coversClass

This commit is contained in:
danilopolani
2022-03-05 17:03:45 +01:00
parent a894386b49
commit 27baad82d0
3 changed files with 2 additions and 7 deletions

View File

@ -175,9 +175,8 @@ final class TestCall
* Sets the covered class and method.
*
* @param class-string $class
* @param string|null $method
*/
public function covers(string $class, ?string $method = null): TestCall
public function covers(string $class): TestCall
{
$this->testCaseMethod->covers[] = new CoversClass(...func_get_args());