Code Duplication    Length = 5-5 lines in 2 locations

src/php/Apix/Plugin/OutputDebug.php 1 location

@@ 75-79 (lines=5) @@
72
        }
73
74
        $name = $this->options['name'];
75
        if (true === $this->options['prepend']) {
76
            $response->results = array($name=>$data)+$response->results;
77
        } else {
78
            $response->results[$name] = $data;
79
        }
80
    }
81
82
    /**

src/php/Apix/Plugin/OutputSign.php 1 location

@@ 59-63 (lines=5) @@
56
        }
57
58
        $name = $this->options['name'];
59
        if (true === $this->options['prepend']) {
60
            $response->results = array($name=>$data)+$response->results;
61
        } else {
62
            $response->results[$name] = $data;
63
        }
64
    }
65
66
}