Project

General

Profile

« Previous | Next » 

Revision 1958

Added by darkviper almost 11 years ago

update Twig from version 1.13.1 to 1.13.2

View differences:

Environment.php
16 16
 */
17 17
class Twig_Environment
18 18
{
19
    const VERSION = '1.13.1';
19
    const VERSION = '1.13.2';
20 20

  
21 21
    protected $charset;
22 22
    protected $loader;
......
728 728
    public function addNodeVisitor(Twig_NodeVisitorInterface $visitor)
729 729
    {
730 730
        if ($this->extensionInitialized) {
731
            throw new LogicException('Unable to add a node visitor as extensions have already been initialized.', $extension->getName());
731
            throw new LogicException('Unable to add a node visitor as extensions have already been initialized.');
732 732
        }
733 733

  
734 734
        $this->staging->addNodeVisitor($visitor);

Also available in: Unified diff