Code Duplication    Length = 3-3 lines in 2 locations

Outputter/FileOutputter.php 2 locations

@@ 93-95 (lines=3) @@
90
     */
91
    public function enableDirectWrite()
92
    {
93
        if ($this->isLazyWrite && $this->cache->length() > 0) {
94
            $this->writeLog(implode("", $this->cache->get()));
95
        }
96
97
        $this->isLazyWrite = false;
98
        $this->cache = null;
@@ 122-124 (lines=3) @@
119
     */
120
    private function flush()
121
    {
122
        if ($this->isLazyWrite && $this->cache->length() > 0) {
123
            $this->writeLog(implode("", $this->cache->get()));
124
        }
125
    }
126
127
    /**