Code Duplication    Length = 9-9 lines in 2 locations

src/Filterer/Filterer.php 2 locations

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