Code Duplication    Length = 5-5 lines in 2 locations

src/Phiber/ORM/Persistence/PhiberPersistence.php 2 locations

@@ 201-205 (lines=5) @@
198
        if ($this->phiberConfig->verifyExecuteQueries()) {
199
            $stmt = $this->PDO->prepare($this->sql);
200
201
            for ($i = 0; $i < count($this->fields); $i++) {
202
                if ($this->fieldsValues[$i] != null) {
203
                    $stmt->bindValue($this->fields[$i], $this->fieldsValues[$i]);
204
                }
205
            }
206
            if ($stmt->execute()) {
207
                return $this->PDO->lastInsertId();
208
            }
@@ 244-248 (lines=5) @@
241
        if ($this->phiberConfig->verifyExecuteQueries()) {
242
243
            $this->PDO = $this->PDO->prepare($this->sql);
244
            for ($i = 0; $i < count($this->fields); $i++) {
245
                if (!empty($this->fieldsValues[$i])) {
246
                    $this->PDO->bindValue($this->fields[$i], $this->fieldsValues[$i]);
247
                }
248
            }
249
250
            while (current($conditions)) {
251
                $this->PDO->bindValue(