mirror of
https://github.com/pestphp/pest.git
synced 2026-03-09 09:17:23 +01:00
Fixes bug with json method call in Higher Order Expectations.
This commit is contained in:
@ -77,6 +77,11 @@ final class HigherOrderExpectation
|
||||
return $this->expect($value);
|
||||
}
|
||||
|
||||
public function json(): HigherOrderExpectation
|
||||
{
|
||||
return new self($this->original, $this->expectation->json()->value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Dynamically calls methods on the class with the given arguments.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user