Code Duplication    Length = 7-7 lines in 4 locations

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

@@ 1249-1255 (lines=7) @@
1246
            Resources::STATUS_OK,
1247
            Resources::EMPTY_STRING,
1248
            $options
1249
        )->then(function ($response) use ($dataSerializer) {
1250
            $parsed = $dataSerializer->unserialize($response->getBody());
1251
            return ListBlobsResult::create(
1252
                $parsed,
1253
                Utilities::getLocationFromHeaders($response->getHeaders())
1254
            );
1255
        }, null);
1256
    }
1257
    
1258
    /**

web/ckfinder/core/connector/php/vendor/microsoft/azure-storage/src/File/FileRestProxy.php 2 locations

@@ 441-447 (lines=7) @@
438
            Resources::STATUS_OK,
439
            Resources::EMPTY_STRING,
440
            $options
441
        )->then(function ($response) use ($dataSerializer) {
442
            $parsed = $dataSerializer->unserialize($response->getBody());
443
            return ListSharesResult::create(
444
                $parsed,
445
                Utilities::getLocationFromHeaders($response->getHeaders())
446
            );
447
        });
448
    }
449
450
    /**
@@ 1088-1094 (lines=7) @@
1085
            Resources::STATUS_OK,
1086
            Resources::EMPTY_STRING,
1087
            $options
1088
        )->then(function ($response) use ($dataSerializer) {
1089
            $parsed = $dataSerializer->unserialize($response->getBody());
1090
            return ListDirectoriesAndFilesResult::create(
1091
                $parsed,
1092
                Utilities::getLocationFromHeaders($response->getHeaders())
1093
            );
1094
        }, null);
1095
    }
1096
1097
    /**

web/ckfinder/core/connector/php/vendor/microsoft/azure-storage/src/Queue/QueueRestProxy.php 1 location

@@ 124-130 (lines=7) @@
121
            Resources::STATUS_OK,
122
            Resources::EMPTY_STRING,
123
            $options
124
        )->then(function ($response) use ($dataSerializer) {
125
            $parsed = $dataSerializer->unserialize($response->getBody());
126
            return ListQueuesResult::create(
127
                $parsed,
128
                Utilities::getLocationFromHeaders($response->getHeaders())
129
            );
130
        }, null);
131
    }
132
133
    /**