Code Duplication    Length = 3-3 lines in 2 locations

src/Adapter.php 2 locations

@@ 379-381 (lines=3) @@
376
    {
377
        $stat = $this->getMetadata($path);
378
379
        if (isset($stat['authority']) && $stat['authority'] === 'eWPrivateRPublic') {
380
            return ['visibility' => AdapterInterface::VISIBILITY_PUBLIC];
381
        }
382
383
        if (isset($stat['authority']) && $stat['authority'] === 'eWRPrivate') {
384
            return ['visibility' => AdapterInterface::VISIBILITY_PRIVATE];
@@ 383-385 (lines=3) @@
380
            return ['visibility' => AdapterInterface::VISIBILITY_PUBLIC];
381
        }
382
383
        if (isset($stat['authority']) && $stat['authority'] === 'eWRPrivate') {
384
            return ['visibility' => AdapterInterface::VISIBILITY_PRIVATE];
385
        }
386
387
        return false;
388
    }