Completed
Pull Request — master (#25954)
by Jörn Friedrich
14:25
created
apps/files_external/lib/Lib/Storage/SMB.php 1 patch
Doc Comments   +7 added lines, -1 removed lines patch added patch discarded remove patch
@@ -260,6 +260,9 @@  discard block
 block discarded – undo
260 260
 		return $this->leave(__FUNCTION__, $result);
261 261
 	}
262 262
 
263
+	/**
264
+	 * @param string $path
265
+	 */
263 266
 	private function removeFromCache($path) {
264 267
 		$path = trim($path, '/');
265 268
 		// TODO The CappedCache does not really clear by prefix. It just clears all.
@@ -632,7 +635,7 @@  discard block
 block discarded – undo
632 635
 	 * if wnd.logging.enable is set to true in the config will log a leave line
633 636
 	 * with the given function, the return value or the exception
634 637
 	 *
635
-	 * @param $function
638
+	 * @param string $function
636 639
 	 * @param mixed $result an exception will be logged and then returned
637 640
 	 * @return mixed
638 641
 	 */
@@ -659,6 +662,9 @@  discard block
 block discarded – undo
659 662
 		return $result;
660 663
 	}
661 664
 
665
+	/**
666
+	 * @param string $function
667
+	 */
662 668
 	private function swallow($function, \Exception $exception) {
663 669
 		if (\OC::$server->getConfig()->getSystemValue('wnd.logging.enable', false) === true) {
664 670
 			Util::writeLog('wnd', "$function swallowing ".get_class($exception)
Please login to merge, or discard this patch.