Code Duplication    Length = 6-6 lines in 2 locations

src/Prophecy/Doubler/ClassPatch/SplFileInfoPatch.php 2 locations

@@ 62-67 (lines=6) @@
59
            return;
60
        }
61
62
        if ($this->nodeIsSplFileObject($node)) {
63
            $filePath = str_replace('\\','\\\\',__FILE__);
64
            $constructor->setCode('return parent::__construct("' . $filePath .'");');
65
66
            return;
67
        }
68
69
        if ($this->nodeIsSymfonySplFileInfo($node)) {
70
            $filePath = str_replace('\\','\\\\',__FILE__);
@@ 69-74 (lines=6) @@
66
            return;
67
        }
68
69
        if ($this->nodeIsSymfonySplFileInfo($node)) {
70
            $filePath = str_replace('\\','\\\\',__FILE__);
71
            $constructor->setCode('return parent::__construct("' . $filePath .'", "", "");');
72
73
            return;
74
        }
75
76
        $constructor->useParentCode();
77
    }