From: Fabien Potencier Date: Tue, 15 Oct 2013 15:54:43 +0000 (+0200) Subject: minor #1231 fix phpdoc for environment, lexer and parser (Tobion) X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=035185aaa4637852ef3d191b04f383628e6c66a8;p=konrad%2Ftwig.git minor #1231 fix phpdoc for environment, lexer and parser (Tobion) This PR was squashed before being merged into the master branch (closes #1231). Discussion ---------- fix phpdoc for environment, lexer and parser First commit fixes several phpdocs and also an instanceof check. The second commit changes an exception from Runtime to Syntax because it doesn't make sense to throw runtime exception during compilation. It also makes it consistent with all the rest (lexer, parser, compiler classes). Commits ------- cc5f3c4 fix phpdoc for environment, lexer and parser --- 035185aaa4637852ef3d191b04f383628e6c66a8