Code Duplication    Length = 3-3 lines in 2 locations

src/Api/Upload.php 2 locations

@@ 51-53 (lines=3) @@
48
            ['name' => 'locale_id', 'content' => $params['locale_id']],
49
        ];
50
51
        if (isset($params['update_translations'])) {
52
            $postData[] = ['name' => 'update_translations', 'content' => $params['update_translations']];
53
        }
54
55
        if (isset($params['tags'])) {
56
            $postData[] = ['name' => 'tags', 'content' => $params['tags']];
@@ 55-57 (lines=3) @@
52
            $postData[] = ['name' => 'update_translations', 'content' => $params['update_translations']];
53
        }
54
55
        if (isset($params['tags'])) {
56
            $postData[] = ['name' => 'tags', 'content' => $params['tags']];
57
        }
58
59
        $response = $this->httpPostRaw(sprintf('/api/v2/projects/%s/uploads', $projectKey), $postData, [
60
            'Content-Type' => 'application/x-www-form-urlencoded',