Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / filter / tests / filter_test / src / Plugin / Filter / FilterTestRestrictTagsAndAttributes.php
index 352506ea571196c57f542ddfc1a67a7e7477e8e5..c6f62009cdc48df05225f0ac7cb836e28aab75cc 100644 (file)
@@ -22,7 +22,7 @@ class FilterTestRestrictTagsAndAttributes extends FilterBase {
    * {@inheritdoc}
    */
   public function process($text, $langcode) {
-    $allowed_tags = array_filter($this->settings['restrictions']['allowed'], function($value) {
+    $allowed_tags = array_filter($this->settings['restrictions']['allowed'], function ($value) {
       return is_array($value) || (bool) $value !== FALSE;
     });
     return new FilterProcessResult(Xss::filter($text, array_keys($allowed_tags)));