*/
public function enableSandbox() {
$index = \count($this->sandboxVars);
- $this->sandboxVars[$index] = [
- 'foreachVars' => $this->foreachVars,
- 'v' => $this->v,
- ];
+ $this->sandboxVars[$index] = [
+ 'foreachVars' => $this->foreachVars,
+ 'v' => $this->v,
+ ];
}
/**
throw new SystemException('TemplateEngine is currently not running in a sandbox.');
}
- $values = \array_pop($this->sandboxVars);
- $this->foreachVars = $values['foreachVars'];
- $this->v = $values['v'];
+ $values = \array_pop($this->sandboxVars);
+ $this->foreachVars = $values['foreachVars'];
+ $this->v = $values['v'];
}
/**