mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-16 12:26:30 +00:00
Merge branch '1.x' into 2.x
* 1.x: fixed typo
This commit is contained in:
@@ -88,7 +88,7 @@ final class SecurityPolicy implements SecurityPolicyInterface
|
||||
public function checkMethodAllowed($obj, $method)
|
||||
{
|
||||
if ($obj instanceof Template || $obj instanceof Markup) {
|
||||
return true;
|
||||
return;
|
||||
}
|
||||
|
||||
$allowed = false;
|
||||
|
||||
Reference in New Issue
Block a user