Code Duplication    Length = 3-3 lines in 2 locations

src/query/Entity.php 2 locations

@@ 217-219 (lines=3) @@
214
        }
215
216
        // Perform sorting if necessary
217
        if (count($this->entityOrderBy) === 2) {
218
            $entityIDs = $this->applySorting($entityIDs, $this->entityOrderBy[0], $this->entityOrderBy[1]);
219
        }
220
221
        // Perform sorting in parent fields if necessary
222
        if (count($this->orderBy) === 2) {
@@ 222-224 (lines=3) @@
219
        }
220
221
        // Perform sorting in parent fields if necessary
222
        if (count($this->orderBy) === 2) {
223
            $entityIDs = $this->applySorting($entityIDs, $this->orderBy[0], $this->orderBy[1]);
224
        }
225
226
        // Perform limits if necessary
227
        if (count($this->limit)) {