Skip to content
Snippets Groups Projects
Commit 17ed9b94 authored by Thomas Hackl's avatar Thomas Hackl
Browse files

fixes #1658

parent 8a2b6853
No related branches found
No related tags found
No related merge requests found
......@@ -27,7 +27,7 @@ class Virusscanner
* @param string $path
* @return array Contains the found virus signature, error message or is an empty array on successful scan
*/
public static function scan(string $path)
public static function scan(string $path): array
{
// Get virus scanner singleton.
if (is_null(static::$instance)) {
......@@ -85,6 +85,7 @@ class Virusscanner
];
}
return [];
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment