mirror of
https://github.com/pestphp/pest.git
synced 2026-04-25 16:37:27 +02:00
remove method name on coversClass
This commit is contained in:
@ -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());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user