]> BookStack Code Mirror - bookstack/blobdiff - app/Util/HtmlContentFilter.php
Apply fixes from StyleCI
[bookstack] / app / Util / HtmlContentFilter.php
index 11be5a0995c3dde7ec047c5a5c9290a1f8135a2e..f251a22fdc94730ea1fc049299641b3cd42a279a 100644 (file)
@@ -1,4 +1,6 @@
-<?php namespace BookStack\Util;
+<?php
+
+namespace BookStack\Util;
 
 use DOMDocument;
 use DOMNodeList;
@@ -44,7 +46,7 @@ class HtmlContentFilter
         // Remove 'on*' attributes
         $onAttributes = $xPath->query('//@*[starts-with(name(), \'on\')]');
         foreach ($onAttributes as $attr) {
-            /** @var \DOMAttr $attr*/
+            /** @var \DOMAttr $attr */
             $attrName = $attr->nodeName;
             $attr->parentNode->removeAttribute($attrName);
         }