mirror of
https://github.com/pestphp/pest.git
synced 2026-09-06 14:53:35 +02:00
chore: refactors exceptions
This commit is contained in:
@@ -19,7 +19,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 closures may not be static. Please remove the [static] keyword from the test [%s] in [%s].',
|
||||
$method->description,
|
||||
$method->filename
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user