Completed
Pull Request — master (#14)
by Piotr
01:32
created
lib/PaperHiveMetadata.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
 
58 58
 	/**
59 59
 	 * @param $fileId
60
-	 * @param $docId
60
+	 * @param string $docId
61 61
 	 * @return bool
62 62
 	 */
63 63
 	public function insertBookID($fileId, $docId) {
Please login to merge, or discard this patch.
lib/Controller/PaperHiveController.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -145,6 +145,10 @@  discard block
 block discarded – undo
145 145
 		return new DataResponse($disscussionCount, Http::STATUS_OK);
146 146
 	}
147 147
 
148
+	/**
149
+	 * @param string $dir
150
+	 * @param string $filename
151
+	 */
148 152
 	private function getBookIdforPath($dir, $filename){
149 153
 		if (!empty($filename)) {
150 154
 			if($dir == '/') {
@@ -185,7 +189,7 @@  discard block
 block discarded – undo
185 189
 	 * @NoAdminRequired
186 190
 	 *
187 191
 	 * @param string $bookID
188
-	 * @return string/boolean
192
+	 * @return string
189 193
 	 */
190 194
 	private function fetchDocument($bookID) {
191 195
 		$urlDocument = $this->paperhive_base_url . $this->paperhive_api_documents . $bookID;
Please login to merge, or discard this patch.