projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Pull merge.
[yaffs-website]
/
web
/
core
/
lib
/
Drupal
/
Core
/
Template
/
TwigSandboxPolicy.php
diff --git
a/web/core/lib/Drupal/Core/Template/TwigSandboxPolicy.php
b/web/core/lib/Drupal/Core/Template/TwigSandboxPolicy.php
index 5dfc4b5bc80fae0db719ffcfcce765a8109196fe..4adc9d60d30aeaa9046acf9220cb560e6d9d076e 100644
(file)
--- a/
web/core/lib/Drupal/Core/Template/TwigSandboxPolicy.php
+++ b/
web/core/lib/Drupal/Core/Template/TwigSandboxPolicy.php
@@
-17,19
+17,25
@@
class TwigSandboxPolicy implements \Twig_Sandbox_SecurityPolicyInterface {
/**
* An array of whitelisted methods in the form of methodName => TRUE.
/**
* An array of whitelisted methods in the form of methodName => TRUE.
+ *
+ * @var array
*/
*/
- protected $whitelisted_methods
= NULL
;
+ protected $whitelisted_methods;
/**
* An array of whitelisted method prefixes -- any method starting with one of
* these prefixes will be allowed.
/**
* An array of whitelisted method prefixes -- any method starting with one of
* these prefixes will be allowed.
+ *
+ * @var array
*/
*/
- protected $whitelisted_prefixes
= NULL
;
+ protected $whitelisted_prefixes;
/**
* An array of class names for which any method calls are allowed.
/**
* An array of class names for which any method calls are allowed.
+ *
+ * @var array
*/
*/
- protected $whitelisted_classes
= NULL
;
+ protected $whitelisted_classes;
/**
* Constructs a new TwigSandboxPolicy object.
/**
* Constructs a new TwigSandboxPolicy object.