Completed
Push — master ( 8c2cb3...b136e5 )
by korelstar
02:38
created
service/notesservice.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -95,6 +95,9 @@  discard block
 block discarded – undo
95 95
         return $this->getNote($this->getFileById($folder, $id), $folder, $this->getTags($id));
96 96
     }
97 97
 
98
+    /**
99
+     * @param integer $id
100
+     */
98 101
     private function getTags ($id) {
99 102
         $tagger = \OC::$server->getTagManager()->load('files');
100 103
         if($tagger===null) {
@@ -265,6 +268,9 @@  discard block
 block discarded – undo
265 268
         return trim($str);
266 269
     }
267 270
 
271
+    /**
272
+     * @param string $content
273
+     */
268 274
     private function getSafeTitleFromContent($content) {
269 275
         // prepare content: remove markdown characters and empty spaces
270 276
         $content = preg_replace("/^\s*[*+-]\s+/mu", "", $content); // list item
Please login to merge, or discard this patch.