feat(expect): add more methods

This commit is contained in:
ceceppa
2020-07-13 17:49:19 +01:00
parent b4bf799d75
commit b4c45af785

View File

@ -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}();