Code Duplication    Length = 3-3 lines in 2 locations

src/Adapter.php 2 locations

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