Code Duplication    Length = 11-11 lines in 2 locations

web/ckfinder/core/connector/php/vendor/microsoft/azure-storage/src/Blob/BlobRestProxy.php 1 location

@@ 3305-3315 (lines=11) @@
3302
            array(Resources::STATUS_OK, Resources::STATUS_PARTIAL_CONTENT),
3303
            Resources::EMPTY_STRING,
3304
            $options
3305
        )->then(function ($response) {
3306
            $metadata = Utilities::getMetadataArray(
3307
                HttpFormatter::formatHeaders($response->getHeaders())
3308
            );
3309
        
3310
            return GetBlobResult::create(
3311
                HttpFormatter::formatHeaders($response->getHeaders()),
3312
                $response->getBody(),
3313
                $metadata
3314
            );
3315
        });
3316
    }
3317
    
3318
    /**

web/ckfinder/core/connector/php/vendor/microsoft/azure-storage/src/File/FileRestProxy.php 1 location

@@ 1741-1751 (lines=11) @@
1738
            array(Resources::STATUS_OK, Resources::STATUS_PARTIAL_CONTENT),
1739
            Resources::EMPTY_STRING,
1740
            $options
1741
        )->then(function ($response) {
1742
            $metadata = Utilities::getMetadataArray(
1743
                HttpFormatter::formatHeaders($response->getHeaders())
1744
            );
1745
        
1746
            return GetFileResult::create(
1747
                HttpFormatter::formatHeaders($response->getHeaders()),
1748
                $response->getBody(),
1749
                $metadata
1750
            );
1751
        });
1752
    }
1753
1754
    /**