Completed
Pull Request — master (#95)
by korelstar
05:25
created
service/metaservice.php 2 patches
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -25,6 +25,9 @@  discard block
 block discarded – undo
25 25
 		$this->metaMapper = $metaMapper;
26 26
 	}
27 27
 
28
+	/**
29
+	 * @param string $userId
30
+	 */
28 31
 	public function updateAll($userId, Array $notes) {
29 32
 		$metas = $this->metaMapper->getAll($userId);
30 33
 		$metas = $this->getIndexedArray($metas, 'fileId');
@@ -49,6 +52,9 @@  discard block
 block discarded – undo
49 52
 		return $metas;
50 53
 	}
51 54
 
55
+	/**
56
+	 * @param string $property
57
+	 */
52 58
 	private function getIndexedArray(array $data, $property) {
53 59
 		$property = ucfirst($property);
54 60
 		$getter = 'get'.$property;
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -8,8 +8,6 @@
 block discarded – undo
8 8
 
9 9
 namespace OCA\Notes\Service;
10 10
 
11
-use OCA\Notes\Db\Note;
12
-use OCA\Notes\Db\Meta;
13 11
 use OCA\Notes\Db\MetaMapper;
14 12
 
15 13
 /**
Please login to merge, or discard this patch.