mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-13 19:06:40 +00:00
Fixes a typo in the compiler outdent comment
This commit is contained in:
@@ -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');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user