Code Duplication    Length = 7-7 lines in 2 locations

src/Resources.php 1 location

@@ 159-165 (lines=7) @@
156
     *
157
     * @return \Joomla\Http\Response
158
     */
159
    public function updateResourceContent($project, $resource, $content, $type = 'string')
160
    {
161
        // Build the request path.
162
        $path = '/project/' . $project . '/resource/' . $resource . '/content/';
163
164
        return $this->updateResource($path, $content, $type);
165
    }
166
}
167

src/Translations.php 1 location

@@ 55-61 (lines=7) @@
52
     *
53
     * @return \Joomla\Http\Response
54
     */
55
    public function updateTranslation($project, $resource, $lang, $content, $type = 'string')
56
    {
57
        // Build the request path.
58
        $path = '/project/' . $project . '/resource/' . $resource . '/translation/' . $lang;
59
60
        return $this->updateResource($path, $content, $type);
61
    }
62
}
63