mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
feat(expect): add more methods
This commit is contained in:
@ -274,7 +274,7 @@ final class Expectation
|
|||||||
/**
|
/**
|
||||||
* Dynamically calls methods on the class without any arguments.
|
* Dynamically calls methods on the class without any arguments.
|
||||||
*/
|
*/
|
||||||
public function __get(string $name): Expectation
|
public function __get(string $name)
|
||||||
{
|
{
|
||||||
/* @phpstan-ignore-next-line */
|
/* @phpstan-ignore-next-line */
|
||||||
return $this->{$name}();
|
return $this->{$name}();
|
||||||
|
|||||||
Reference in New Issue
Block a user