Code Duplication    Length = 7-7 lines in 2 locations

src/ClientRemote.php 2 locations

@@ 186-192 (lines=7) @@
183
    /**
184
     * @inheritdoc
185
     */
186
    public function createItem($tableName, array $data)
187
    {
188
        $path = $this->buildPath(static::TABLE_ENTRY_CREATE_ENDPOINT, $tableName);
189
        $data = $this->processData($tableName, $data);
190
191
        return $this->performRequest('POST', $path, ['body' => $data]);
192
    }
193
194
    /**
195
     * @inheritdoc
@@ 197-203 (lines=7) @@
194
    /**
195
     * @inheritdoc
196
     */
197
    public function updateItem($tableName, $id, array $data)
198
    {
199
        $path = $this->buildPath(static::TABLE_ENTRY_UPDATE_ENDPOINT, [$tableName, $id]);
200
        $data = $this->processData($tableName, $data);
201
202
        return $this->performRequest('PUT', $path, ['body' => $data]);
203
    }
204
205
    /**
206
     * @inheritdoc