Code Duplication    Length = 7-7 lines in 2 locations

src/ClientRemote.php 2 locations

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