Signature of overriding method should match the parent

This commit is contained in:
Olivier Paroz 2015-06-26 17:45:04 +02:00
parent ac94126393
commit b30515ddda

View file

@ -34,7 +34,7 @@ class Scanner extends \OC\Files\Cache\Scanner {
protected $storage;
/** {@inheritDoc} */
public function scan($path, $recursive = self::SCAN_RECURSIVE, $reuse = -1) {
public function scan($path, $recursive = self::SCAN_RECURSIVE, $reuse = -1, $lock = true) {
$this->scanAll();
}