Code Duplication    Length = 7-7 lines in 2 locations

src/ClientRemote.php 2 locations

@@ 173-179 (lines=7) @@
170
    /**
171
     * @inheritdoc
172
     */
173
    public function createItem($tableName, array $data)
174
    {
175
        $path = $this->buildPath(static::TABLE_ENTRY_CREATE_ENDPOINT, $tableName);
176
        $data = $this->processData($tableName, $data);
177
178
        return $this->performRequest('POST', $path, ['body' => $data]);
179
    }
180
181
    /**
182
     * @inheritdoc
@@ 184-190 (lines=7) @@
181
    /**
182
     * @inheritdoc
183
     */
184
    public function updateItem($tableName, $id, array $data)
185
    {
186
        $path = $this->buildPath(static::TABLE_ENTRY_UPDATE_ENDPOINT, [$tableName, $id]);
187
        $data = $this->processData($tableName, $data);
188
189
        return $this->performRequest('PUT', $path, ['body' => $data]);
190
    }
191
192
    /**
193
     * @inheritdoc