owncloud/core

View on GitHub
lib/public/Share/IManager.php

Summary

Maintainability
A
2 hrs
Test Coverage

Method getSharesBy has 6 arguments (exceeds 4 allowed). Consider refactoring.
Open

    public function getSharesBy($userId, $shareType, $path = null, $reshares = false, $limit = 50, $offset = 0);
Severity: Minor
Found in lib/public/Share/IManager.php - About 45 mins to fix

    Method getSharedWith has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        public function getSharedWith($userId, $shareType, $node = null, $limit = 50, $offset = 0);
    Severity: Minor
    Found in lib/public/Share/IManager.php - About 35 mins to fix

      Method transferShare has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

          public function transferShare(IShare $share, $oldOwner, $newOwner, $finalTarget, $isChild = null);
      Severity: Minor
      Found in lib/public/Share/IManager.php - About 35 mins to fix

        There are no issues that match your filters.

        Category
        Status