mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
chore: improves wording
This commit is contained in:
@ -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
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user