owncloud/core

View on GitHub
lib/private/Lock/Persistent/LockMapper.php

Summary

Maintainability
A
1 hr
Test Coverage

Method getLocksByPath has 32 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function getLocksByPath($storageId, $internalPath, $returnChildLocks) {
        $query = $this->db->getQueryBuilder();
        $internalPath = \rtrim($internalPath, '/');

        /*
Severity: Minor
Found in lib/private/Lock/Persistent/LockMapper.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status