Code Duplication    Length = 4-4 lines in 3 locations

src/component/Hooks/Action.php 1 location

@@ 142-145 (lines=4) @@
139
        }
140
141
        // Sort
142
        if (!isset(Filter::$mergedFilters[ $tag ])) {
143
            ksort(Filter::$filters[$tag]);
144
            Filter::$mergedFilters[ $tag ] = true;
145
        }
146
147
        reset(Filter::$filters[$tag]);
148

src/component/Hooks/Filter.php 2 locations

@@ 189-192 (lines=4) @@
186
        }
187
188
        // Sort
189
        if (!isset(self::$mergedFilters[$tag])) {
190
            ksort(self::$filters[$tag]);
191
            self::$mergedFilters[ $tag ] = true;
192
        }
193
194
        reset(self::$filters[$tag]);
195
@@ 247-250 (lines=4) @@
244
        }
245
246
        // Sort
247
        if (!isset(self::$mergedFilters[$tag])) {
248
            ksort(self::$filters[$tag]);
249
            self::$mergedFilters[$tag] = true;
250
        }
251
252
        reset(self::$filters[$tag]);
253