Fixes a typo in the compiler outdent comment

This commit is contained in:
Chris Sedlmayr
2012-11-23 12:22:50 +00:00
parent 9b75e2c7ae
commit ae73c4c368
+1 -1
View File
@@ -256,7 +256,7 @@ class Twig_Compiler implements Twig_CompilerInterface
*/
public function outdent($step = 1)
{
// can't outdent by more steps that the current indentation level
// can't outdent by more steps than the current indentation level
if ($this->indentation < $step) {
throw new LogicException('Unable to call outdent() as the indentation would become negative');
}