Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / lib / Drupal / Core / Template / TwigSandboxPolicy.php
index 5dfc4b5bc80fae0db719ffcfcce765a8109196fe..4adc9d60d30aeaa9046acf9220cb560e6d9d076e 100644 (file)
@@ -17,19 +17,25 @@ class TwigSandboxPolicy implements \Twig_Sandbox_SecurityPolicyInterface {
 
   /**
    * 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.