Code Duplication    Length = 3-3 lines in 2 locations

src/Adapter.php 2 locations

@@ 387-389 (lines=3) @@
384
    {
385
        $stat = $this->getMetadata($path);
386
387
        if (isset($stat['authority']) && $stat['authority'] === 'eWPrivateRPublic') {
388
            return ['visibility' => AdapterInterface::VISIBILITY_PUBLIC];
389
        }
390
391
        if (isset($stat['authority']) && $stat['authority'] === 'eWRPrivate') {
392
            return ['visibility' => AdapterInterface::VISIBILITY_PRIVATE];
@@ 391-393 (lines=3) @@
388
            return ['visibility' => AdapterInterface::VISIBILITY_PUBLIC];
389
        }
390
391
        if (isset($stat['authority']) && $stat['authority'] === 'eWRPrivate') {
392
            return ['visibility' => AdapterInterface::VISIBILITY_PRIVATE];
393
        }
394
395
        return false;
396
    }