@@ -96,7 +96,7 @@ |
||
96 | 96 | |
97 | 97 | /** |
98 | 98 | * Reads a file portion by portion until the very end |
99 | - * @return string|boolean |
|
99 | + * @return false|string |
|
100 | 100 | */ |
101 | 101 | public function fread() { |
102 | 102 | if (!$this->isValid()) { |
@@ -9,6 +9,10 @@ |
||
9 | 9 | namespace OCA\Files_Antivirus; |
10 | 10 | |
11 | 11 | class Notification { |
12 | + |
|
13 | + /** |
|
14 | + * @param string $path |
|
15 | + */ |
|
12 | 16 | public static function sendMail($path){ |
13 | 17 | if (!\OCP\User::isLoggedIn()){ |
14 | 18 | return; |