summaryrefslogtreecommitdiffstats
path: root/lib/private/Files/Storage/Local.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-10-28 11:49:01 +0200
committerJoas Schilling <coding@schilljs.com>2017-10-28 11:49:36 +0200
commit94f3fc63bc059423234cf135bee409e061320bda (patch)
treea652765d3d91aea96b86981ea86e05173b3c2818 /lib/private/Files/Storage/Local.php
parent84f3d247f2e5ed8e2263f04a7570e6edfd50593a (diff)
downloadnextcloud-server-94f3fc63bc059423234cf135bee409e061320bda.tar.gz
nextcloud-server-94f3fc63bc059423234cf135bee409e061320bda.zip
Use ::class and fix missing doc
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private/Files/Storage/Local.php')
-rw-r--r--lib/private/Files/Storage/Local.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/Files/Storage/Local.php b/lib/private/Files/Storage/Local.php
index 0577093712e..c9cb6f246d7 100644
--- a/lib/private/Files/Storage/Local.php
+++ b/lib/private/Files/Storage/Local.php
@@ -408,10 +408,11 @@ class Local extends \OC\Files\Storage\Common {
* @param IStorage $sourceStorage
* @param string $sourceInternalPath
* @param string $targetInternalPath
+ * @param bool $preserveMtime
* @return bool
*/
public function copyFromStorage(IStorage $sourceStorage, $sourceInternalPath, $targetInternalPath, $preserveMtime = false) {
- if ($sourceStorage->instanceOfStorage('\OC\Files\Storage\Local')) {
+ if ($sourceStorage->instanceOfStorage(Local::class)) {
if ($sourceStorage->instanceOfStorage(Jail::class)) {
/**
* @var \OC\Files\Storage\Wrapper\Jail $sourceStorage