mirror of
https://github.com/pestphp/pest.git
synced 2026-03-08 08:47:22 +01:00
wip toward lvl9
This commit is contained in:
@ -80,7 +80,10 @@ final class HigherOrderExpectation
|
||||
}
|
||||
|
||||
if (!$this->expectationHasMethod($name)) {
|
||||
return new self($this->original, $this->retrieve($name, $this->getValue()));
|
||||
/** @var array<string, mixed>|object $value */
|
||||
$value = $this->getValue();
|
||||
|
||||
return new self($this->original, $this->retrieve($name, $value));
|
||||
}
|
||||
|
||||
return $this->performAssertion($name, []);
|
||||
|
||||
Reference in New Issue
Block a user