Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/ransomware_detection.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/StorageWrapper.php')
-rw-r--r--lib/StorageWrapper.php24
1 files changed, 12 insertions, 12 deletions
diff --git a/lib/StorageWrapper.php b/lib/StorageWrapper.php
index 6809081..17f18e3 100644
--- a/lib/StorageWrapper.php
+++ b/lib/StorageWrapper.php
@@ -44,18 +44,6 @@ class StorageWrapper extends Wrapper
}
/**
- * Makes it easier to test.
- *
- * @param IStorage $storage
- * @param string $path
- * @param int $mode
- */
- protected function analyze(IStorage $storage, $path, $mode)
- {
- return $this->monitor->analyze($storage, $path, $mode);
- }
-
- /**
* see http://php.net/manual/en/function.mkdir.php.
*
* @param string $path
@@ -256,4 +244,16 @@ class StorageWrapper extends Wrapper
return $this->storage->moveFromStorage($sourceStorage, $sourceInternalPath, $targetInternalPath);
}
+
+ /**
+ * Makes it easier to test.
+ *
+ * @param IStorage $storage
+ * @param string $path
+ * @param int $mode
+ */
+ protected function analyze(IStorage $storage, $path, $mode)
+ {
+ return $this->monitor->analyze($storage, $path, $mode);
+ }
}