mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-16 12:26:30 +00:00
fixed typo
This commit is contained in:
@@ -87,7 +87,7 @@ final class StagingExtension extends AbstractExtension
|
||||
public function addTest(TwigTest $test)
|
||||
{
|
||||
if (isset($this->tests[$test->getName()])) {
|
||||
throw new \LogicException(sprintf('Test "%s" is already registered.', $test->getTag()));
|
||||
throw new \LogicException(sprintf('Test "%s" is already registered.', $test->getName()));
|
||||
}
|
||||
|
||||
$this->tests[$test->getName()] = $test;
|
||||
|
||||
Reference in New Issue
Block a user