mirror of
https://github.com/twigphp/Twig.git
synced 2026-08-28 19:17:37 +00:00
Fix bad merge
This commit is contained in:
@@ -82,11 +82,7 @@ final class SandboxExtension extends AbstractExtension
|
||||
return $this->policy;
|
||||
}
|
||||
|
||||
<<<<<<< HEAD
|
||||
public function checkSecurity($tags, $filters, $functions): void
|
||||
=======
|
||||
public function checkSecurity($tags, $filters, $functions, Source $source = null)
|
||||
>>>>>>> 2.x
|
||||
public function checkSecurity($tags, $filters, $functions, Source $source = null): void
|
||||
{
|
||||
if ($this->isSandboxed($source)) {
|
||||
$this->policy->checkSecurity($tags, $filters, $functions);
|
||||
|
||||
Reference in New Issue
Block a user