use and() instead of new self

This commit is contained in:
Mert Aşan
2021-09-24 13:59:00 +03:00
parent da258fa89f
commit 7f214f9e12

View File

@ -212,7 +212,7 @@ final class Expectation
continue; continue;
} }
(new self($this->value))->toEqual($callback); $this->and($this->value)->toEqual($callback);
break; break;
} }