Completed
Pull Request — master (#29107)
by Piotr
10:33
created
lib/private/Group/Manager.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,6 @@
 block discarded – undo
40 40
 use OCP\GroupInterface;
41 41
 use OCP\IGroupManager;
42 42
 use OC\Group\GroupMapper;
43
-use OC\Group\Database;
44 43
 
45 44
 /**
46 45
  * Class Manager
Please login to merge, or discard this patch.
lib/private/MembershipManager.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -491,7 +491,7 @@  discard block
 block discarded – undo
491 491
 	 * are users in the group (identified by backend group id
492 492
 	 * if $isBackendGroupId is true, or gid if $isBackendGroupId is false)
493 493
 	 *
494
-	 * @param string|int $groupId
494
+	 * @param string $groupId
495 495
 	 * @param bool $isBackendGroupId
496 496
 	 * @param string $pattern
497 497
 	 * @return int
@@ -569,7 +569,7 @@  discard block
 block discarded – undo
569 569
 
570 570
 	/**
571 571
 	 * @param IQueryBuilder $qb
572
-	 * @return int
572
+	 * @return boolean
573 573
 	 */
574 574
 	private function getAffectedQuery(IQueryBuilder $qb) {
575 575
 		// If affected is equal or more then 1, it means operation was successful
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,6 @@
 block discarded – undo
23 23
 
24 24
 use OC\Group\BackendGroup;
25 25
 use OC\User\Account;
26
-use OCP\AppFramework\Db\Entity;
27 26
 use OCP\IConfig;
28 27
 use OCP\IDBConnection;
29 28
 use Doctrine\DBAL\Exception\UniqueConstraintViolationException;
Please login to merge, or discard this patch.