Code Duplication    Length = 3-3 lines in 2 locations

lib/Archive/src/ArchiveEntry.php 2 locations

@@ 130-132 (lines=3) @@
127
128
        $timezone = new \DateTimeZone(\date_default_timezone_get());
129
130
        if (!empty($stat['ctime']) && $this->creationTime === null) {
131
            $this->creationTime = (new \DateTimeImmutable('@' . $stat['ctime']))->setTimezone($timezone);
132
        }
133
134
        if (!empty($stat['mtime']) && $this->modificationTime === null) {
135
            $this->modificationTime = (new \DateTimeImmutable('@' . $stat['mtime']))->setTimezone($timezone);
@@ 134-136 (lines=3) @@
131
            $this->creationTime = (new \DateTimeImmutable('@' . $stat['ctime']))->setTimezone($timezone);
132
        }
133
134
        if (!empty($stat['mtime']) && $this->modificationTime === null) {
135
            $this->modificationTime = (new \DateTimeImmutable('@' . $stat['mtime']))->setTimezone($timezone);
136
        }
137
138
        if ($this->unixAttributes & UNIX_ATTRIBUTE_TYPE_DIRECTORY) {
139
            $this->sourceSize = 0;