Code Duplication    Length = 8-8 lines in 2 locations

src/base/File.php 2 locations

@@ 316-323 (lines=8) @@
313
        return (string) $this->getStat(4);
314
    }
315
316
    public function getOwner()
317
    {
318
        if (!isset($this->_stat['owner'])) {
319
            $this->_stat['owner'] = posix_getpwuid($this->getUid());
320
        }
321
322
        return $this->getStat('owner')['name'];
323
    }
324
325
    public function getGid()
326
    {
@@ 330-337 (lines=8) @@
327
        return (string) $this->getStat(5);
328
    }
329
330
    public function getGroup()
331
    {
332
        if (!isset($this->_stat['group'])) {
333
            $this->_stat['group'] = posix_getgrgid($this->getGid());
334
        }
335
336
        return $this->getStat('group')['name'];
337
    }
338
339
    public function getPermissions()
340
    {