@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | } |
66 | 66 | |
67 | 67 | /** |
68 | - * @param \SimpleXMLElement $discovery |
|
68 | + * @param \SimpleXMLElement $discovery_parsed |
|
69 | 69 | * @param string $mimetype |
70 | 70 | */ |
71 | 71 | private function getWopiSrcUrl($discovery_parsed, $mimetype) { |
@@ -137,6 +137,7 @@ discard block |
||
137 | 137 | |
138 | 138 | /** |
139 | 139 | * Return the original wopi url or test wopi url |
140 | + * @param boolean $tester |
|
140 | 141 | */ |
141 | 142 | private function getWopiUrl($tester) { |
142 | 143 | $wopiurl = ''; |
@@ -181,6 +182,7 @@ discard block |
||
181 | 182 | } |
182 | 183 | |
183 | 184 | /** Return the content of discovery.xml - either from cache, or download it. |
185 | + * @return string |
|
184 | 186 | */ |
185 | 187 | private function getDiscovery(){ |
186 | 188 | \OC::$server->getLogger()->debug('getDiscovery(): Getting discovery.xml from the cache.'); |
@@ -711,6 +713,7 @@ discard block |
||
711 | 713 | |
712 | 714 | /** |
713 | 715 | * @NoAdminRequired |
716 | + * @param integer $fileId |
|
714 | 717 | */ |
715 | 718 | public function rename($fileId){ |
716 | 719 | $name = $this->request->post['name']; |
@@ -26,6 +26,9 @@ discard block |
||
26 | 26 | |
27 | 27 | protected $body = ""; |
28 | 28 | |
29 | + /** |
|
30 | + * @param string $body |
|
31 | + */ |
|
29 | 32 | public function setBody($body){ |
30 | 33 | $this->body = $body; |
31 | 34 | } |
@@ -269,6 +272,9 @@ discard block |
||
269 | 272 | return $response; |
270 | 273 | } |
271 | 274 | |
275 | + /** |
|
276 | + * @param Db\Session $session |
|
277 | + */ |
|
272 | 278 | protected function validateSession($session){ |
273 | 279 | try { |
274 | 280 | if (is_null($this->shareToken)) { |