Use (int) rather than intval()
[lhc/web/wiklou.git] / includes / parser / RemexStripTagHandler.php
index 41c6bf4..bf4c098 100644 (file)
@@ -52,7 +52,7 @@ class RemexStripTagHandler implements TokenHandler {
        // (although "block-level" is not technically defined for elements that are
        // new in HTML5).
        // Structured as tag => true to allow O(1) membership test.
-       static private $BLOCK_LEVEL_TAGS = [
+       private static $BLOCK_LEVEL_TAGS = [
                'address' => true,
                'article' => true,
                'aside' => true,
@@ -66,7 +66,6 @@ class RemexStripTagHandler implements TokenHandler {
                'fieldset' => true,
                'figcaption' => true,
                'figure' => true,
-               'figcaption' => true,
                'footer' => true,
                'form' => true,
                'h1' => true,