Code Duplication    Length = 9-9 lines in 2 locations

src/Filterer/Filterer.php 2 locations

@@ 49-57 (lines=9) @@
46
     */
47
    public function onRowMatches(&$row, $key, &$rows, $matching_case, $options)
48
    {
49
        if (isset($options[ self::on_row_matches ])) {
50
            $callback = $options[ self::on_row_matches ];
51
        }
52
        elseif (isset($this->custom_actions[ self::on_row_matches ])) {
53
            $callback = $this->custom_actions[ self::on_row_matches ];
54
        }
55
        else {
56
            return;
57
        }
58
59
        $args = [
60
            // &$row,
@@ 84-92 (lines=9) @@
81
            return;
82
        }
83
84
        if (isset($options[ self::on_row_mismatches ])) {
85
            $callback = $options[ self::on_row_mismatches ];
86
        }
87
        elseif (isset($this->custom_actions[ self::on_row_mismatches ])) {
88
            $callback = $this->custom_actions[ self::on_row_mismatches ];
89
        }
90
        else {
91
            return;
92
        }
93
94
        $args = [
95
            // &$row,