Completed
Branch master (317f11)
by Julius
02:49
created
lib/Service/PermissionService.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -26,10 +26,8 @@
 block discarded – undo
26 26
 use OCA\Deck\Db\Acl;
27 27
 use OCA\Deck\Db\AclMapper;
28 28
 use OCA\Deck\Db\BoardMapper;
29
-
30 29
 use OCA\Deck\Db\IPermissionMapper;
31 30
 use OCA\Deck\NoPermissionException;
32
-
33 31
 use OCP\AppFramework\Db\DoesNotExistException;
34 32
 use OCP\IGroupManager;
35 33
 use OCP\ILogger;
Please login to merge, or discard this patch.
lib/Service/CardService.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -101,8 +101,9 @@
 block discarded – undo
101 101
                 $card->setLastModified(time());
102 102
             }
103 103
 
104
-            if ($i === $order)
105
-                $i++;
104
+            if ($i === $order) {
105
+                            $i++;
106
+            }
106 107
 
107 108
             if ($card->id !== $id) {
108 109
                 $card->setOrder($i++);
Please login to merge, or discard this patch.
lib/Controller/ShareController.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -67,8 +67,9 @@
 block discarded – undo
67 67
 		}
68 68
 		$limit = 10;
69 69
 		foreach ($this->userManager->searchDisplayName($search, $limit, $offset) as $idx => $user) {
70
-			if ($user->getUID() === $this->userId)
71
-				continue;
70
+			if ($user->getUID() === $this->userId) {
71
+							continue;
72
+			}
72 73
 			$acl = new Acl();
73 74
 			$acl->setType('user');
74 75
 			$acl->setParticipant($user->getUID());
Please login to merge, or discard this patch.