diff --git a/src/TestSuite.php b/src/TestSuite.php index c6e4debd..885baa2f 100644 --- a/src/TestSuite.php +++ b/src/TestSuite.php @@ -128,6 +128,6 @@ final class TestSuite { assert($this->test instanceof TestCase); - (fn () => $this->__snapshotChanges[] = $message)->call($this->test, $this->test::class); // @phpstan-ignore-line + (fn (): string => $this->__snapshotChanges[] = $message)->call($this->test, $this->test::class); // @phpstan-ignore-line } }