Mercurial > hg > isophonics-drupal-site
diff core/lib/Drupal/Core/Template/TwigSandboxPolicy.php @ 16:c2387f117808
Routine composer update
author | Chris Cannam |
---|---|
date | Tue, 10 Jul 2018 15:07:59 +0100 |
parents | 4c8ae668cc8c |
children |
line wrap: on
line diff
--- a/core/lib/Drupal/Core/Template/TwigSandboxPolicy.php Thu Apr 26 11:26:54 2018 +0100 +++ b/core/lib/Drupal/Core/Template/TwigSandboxPolicy.php Tue Jul 10 15:07:59 2018 +0100 @@ -17,19 +17,25 @@ /** * 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. + * + * @var array */ - protected $whitelisted_prefixes = NULL; + protected $whitelisted_prefixes; /** * 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.