Completed
Pull Request — master (#14)
by Piotr
01:24
created
lib/Controller/PaperHiveController.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -150,6 +150,10 @@  discard block
 block discarded – undo
150 150
 		}
151 151
 	}
152 152
 
153
+	/**
154
+	 * @param string $dir
155
+	 * @param string $filename
156
+	 */
153 157
 	private function getBookIdforPath($dir, $filename){
154 158
 		if (!empty($filename)) {
155 159
 			$path = $dir . '/' . $filename;
@@ -186,7 +190,7 @@  discard block
 block discarded – undo
186 190
 	 * @NoAdminRequired
187 191
 	 *
188 192
 	 * @param string $bookID
189
-	 * @return string/boolean
193
+	 * @return string
190 194
 	 */
191 195
 	private function fetchDocument($bookID) {
192 196
 		$urlDocument = $this->paperhive_base_url . $this->paperhive_api_documents . $bookID;
Please login to merge, or discard this patch.
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.