Completed
Pull Request — master (#87)
by korelstar
02:25
created
service/notesservice.php 2 patches
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -77,6 +77,9 @@  discard block
 block discarded – undo
77 77
         return Note::fromFile($this->getFileById($folder, $id), $folder, $this->getTags($id));
78 78
     }
79 79
 
80
+    /**
81
+     * @param integer $id
82
+     */
80 83
     private function getTags ($id) {
81 84
         $tagger = \OC::$server->getTagManager()->load('files');
82 85
         if($tagger===null) {
@@ -114,6 +117,7 @@  discard block
 block discarded – undo
114 117
      * @param string $content the content which will be written into the note
115 118
      * the title is generated from the first line of the content
116 119
      * @param int $mtime time of the note modification (optional)
120
+     * @param string $userId
117 121
      * @throws NoteDoesNotExistException if note does not exist
118 122
      * @return \OCA\Notes\Db\Note the updated note
119 123
      */
@@ -179,6 +183,7 @@  discard block
 block discarded – undo
179 183
      * Set or unset a note as favorite.
180 184
      * @param int $id the id of the note used to update
181 185
      * @param boolean $favorite whether the note should be a favorite or not
186
+     * @param string $userId
182 187
      * @throws NoteDoesNotExistException if note does not exist
183 188
      * @return boolean the new favorite state of the note
184 189
      */
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,6 @@
 block discarded – undo
15 15
 use OCP\IL10N;
16 16
 use OCP\Files\IRootFolder;
17 17
 use OCP\Files\Folder;
18
-
19 18
 use OCA\Notes\Db\Note;
20 19
 
21 20
 /**
Please login to merge, or discard this patch.