Code Duplication    Length = 3-3 lines in 2 locations

src/Adapter.php 2 locations

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