From b4c45af785fb41cf431ca4fef981adf5f0360c21 Mon Sep 17 00:00:00 2001 From: ceceppa Date: Mon, 13 Jul 2020 17:49:19 +0100 Subject: [PATCH] feat(expect): add more methods --- src/Expectation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Expectation.php b/src/Expectation.php index 750f875a..de21f198 100644 --- a/src/Expectation.php +++ b/src/Expectation.php @@ -274,7 +274,7 @@ final class Expectation /** * Dynamically calls methods on the class without any arguments. */ - public function __get(string $name): Expectation + public function __get(string $name) { /* @phpstan-ignore-next-line */ return $this->{$name}();