@@ -284,6 +284,9 @@ discard block |
||
284 | 284 | return $this->leave(__FUNCTION__, $result); |
285 | 285 | } |
286 | 286 | |
287 | + /** |
|
288 | + * @param string $path |
|
289 | + */ |
|
287 | 290 | private function removeFromCache($path) { |
288 | 291 | $path = trim($path, '/'); |
289 | 292 | // TODO The CappedCache does not really clear by prefix. It just clears all. |
@@ -691,7 +694,7 @@ discard block |
||
691 | 694 | * if wnd/smb.logging.enable is set to true in the config will log a leave line |
692 | 695 | * with the given function, the return value or the exception |
693 | 696 | * |
694 | - * @param $function |
|
697 | + * @param string $function |
|
695 | 698 | * @param mixed $result an exception will be logged and then returned |
696 | 699 | * @return mixed |
697 | 700 | */ |
@@ -719,6 +722,9 @@ discard block |
||
719 | 722 | return $result; |
720 | 723 | } |
721 | 724 | |
725 | + /** |
|
726 | + * @param string $function |
|
727 | + */ |
|
722 | 728 | private function swallow($function, \Exception $exception) { |
723 | 729 | $from = $this->getSmbWndLogging(); |
724 | 730 | if (!empty($from)) { |