Fix scanFile signature warnings

This commit is contained in:
Vincent Petry 2015-03-16 16:45:11 +01:00
parent 1075914f8a
commit b9d9405135

View file

@ -33,7 +33,7 @@ class Scanner extends \OC\Files\Cache\Scanner {
* @param int $reuseExisting
* @return array an array of metadata of the scanned file
*/
public function scanFile($file, $reuseExisting = 0) {
public function scanFile($file, $reuseExisting = 0, $parentId = -1, $cacheData = null) {
try {
return parent::scanFile($file, $reuseExisting);
} catch (ForbiddenException $e) {