Completed
Pull Request — master (#654)
by
unknown
43:37
created
lib/Db/PublicShareMapper.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -27,26 +27,26 @@
 block discarded – undo
27 27
 
28 28
 class PublicShareMapper extends DeckMapper implements IPermissionMapper {
29 29
 
30
-    public function __construct(IDBConnection $db) {
31
-        parent::__construct($db, 'deck_public_board_shares', Label::class);
30
+	public function __construct(IDBConnection $db) {
31
+		parent::__construct($db, 'deck_public_board_shares', Label::class);
32 32
 	}
33 33
 
34 34
 	public function findAll($boardId, $limit = null, $offset = null) {
35 35
 		$sql = 'SELECT * FROM `*PREFIX*deck_public_board_shares` WHERE `board_id` = ? ORDER BY `id`';
36
-        return $this->findEntities($sql, [$boardId], $limit, $offset);
36
+		return $this->findEntities($sql, [$boardId], $limit, $offset);
37 37
 	}
38 38
 
39
-    public function isOwner($userId, $boardId) {
39
+	public function isOwner($userId, $boardId) {
40 40
 		$board = $this->find($boardId);
41 41
 		return ($board->getOwner() === $userId);
42 42
 	}
43 43
 
44
-    public function findBoardId($publicShareId) {
44
+	public function findBoardId($publicShareId) {
45 45
 		$entity = $this->find($publicShareId);
46 46
 		return $entity->getBoardId();
47
-    }
47
+	}
48 48
 
49
-    public function delete(\OCP\AppFramework\Db\Entity $entity) {
49
+	public function delete(\OCP\AppFramework\Db\Entity $entity) {
50 50
 		return parent::delete($entity);
51 51
 	}
52 52
 
Please login to merge, or discard this patch.