Commit 602bf793 authored by catch's avatar catch
Browse files

Issue #3321771 by Wim Leers, Chi: CKEditor 5 Duplicated constants in assert statement

(cherry picked from commit bfccb136)
parent 4b4bfcce
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -263,7 +263,7 @@ private static function getFiltersInFormatOfType(FilterFormatInterface $text_for
    assert(in_array($filter_type, [
      FilterInterface::TYPE_MARKUP_LANGUAGE,
      FilterInterface::TYPE_HTML_RESTRICTOR,
      FilterInterface::TYPE_TRANSFORM_IRREVERSIBLE,
      FilterInterface::TYPE_TRANSFORM_REVERSIBLE,
      FilterInterface::TYPE_TRANSFORM_IRREVERSIBLE,
    ]));
    foreach ($text_format->filters() as $id => $filter) {