mirror of
https://github.com/twigphp/Twig.git
synced 2026-08-30 12:06:56 +00:00
Make data providers static
This commit is contained in:
@@ -31,7 +31,7 @@ class CustomExtensionTest extends TestCase
|
||||
$env->getUnaryOperators();
|
||||
}
|
||||
|
||||
public function provideInvalidExtensions()
|
||||
public static function provideInvalidExtensions()
|
||||
{
|
||||
return [
|
||||
[new InvalidOperatorExtension([1, 2, 3]), '"Twig\Tests\InvalidOperatorExtension::getOperators()" must return an array of 2 elements, got 3.'],
|
||||
|
||||
Reference in New Issue
Block a user