chore: improves wording

This commit is contained in:
Nuno Maduro
2025-08-03 09:57:52 -06:00
parent 91bb7589e2
commit fcb60f3c4a

View File

@ -22,7 +22,7 @@ final class TestClosureMustNotBeStatic extends InvalidArgumentException implemen
{ {
parent::__construct( parent::__construct(
sprintf( 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->description,
$method->filename $method->filename
) )