Project

General

Profile

« Previous | Next » 

Revision 1938

Added by darkviper almost 11 years ago

update Twig template engine to version 1.13.1

View differences:

Defined.php
19 19
 * {% endif %}
20 20
 * </pre>
21 21
 *
22
 * @package twig
23
 * @author  Fabien Potencier <fabien@symfony.com>
22
 * @author Fabien Potencier <fabien@symfony.com>
24 23
 */
25 24
class Twig_Node_Expression_Test_Defined extends Twig_Node_Expression_Test
26 25
{
......
35 34

  
36 35
            $this->changeIgnoreStrictCheck($node);
37 36
        } else {
38
            throw new Twig_Error_Syntax('The "defined" test only works with simple variables', $this->getLine(), $compiler->getFilename());
37
            throw new Twig_Error_Syntax('The "defined" test only works with simple variables', $this->getLine());
39 38
        }
40 39
    }
41 40

  

Also available in: Unified diff