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