mirror of
https://github.com/pestphp/pest.git
synced 2026-03-13 03:07:22 +01:00
use and() instead of new self
This commit is contained in:
@ -212,7 +212,7 @@ final class Expectation
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
(new self($this->value))->toEqual($callback);
|
$this->and($this->value)->toEqual($callback);
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user