From fcb60f3c4a148ac115a9a82a2d5d02b0a2870fbd Mon Sep 17 00:00:00 2001 From: Nuno Maduro Date: Sun, 3 Aug 2025 09:57:52 -0600 Subject: [PATCH] chore: improves wording --- src/Exceptions/TestClosureMustNotBeStatic.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Exceptions/TestClosureMustNotBeStatic.php b/src/Exceptions/TestClosureMustNotBeStatic.php index b1f91e95..5dda67c0 100644 --- a/src/Exceptions/TestClosureMustNotBeStatic.php +++ b/src/Exceptions/TestClosureMustNotBeStatic.php @@ -22,7 +22,7 @@ final class TestClosureMustNotBeStatic extends InvalidArgumentException implemen { parent::__construct( sprintf( - 'Test closure must not be static. Please remove the `static` keyword from the `%s` method in `%s`.', + 'Test closure must not be static. Please remove the [static] keyword from the [%s] method in [%s].', $method->description, $method->filename )