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 )