From 0518971d2f371041ff4fa80c0ac67a09adff1bd4 Mon Sep 17 00:00:00 2001 From: Fabio Ivona Date: Tue, 1 Aug 2023 17:16:50 +0200 Subject: [PATCH] refactor --- src/TestSuite.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } }