Skip to content

Commit

Permalink
Merge pull request #6992 from nextcloud/2-lines-for-better-code
Browse files Browse the repository at this point in the history
Use ::class and fix missing doc
  • Loading branch information
MorrisJobke authored Oct 30, 2017
2 parents 42a14ad + 94f3fc6 commit d18a60d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/private/Files/Storage/Local.php
Original file line number Diff line number Diff line change
Expand Up @@ -408,10 +408,11 @@ public function getETag($path) {
* @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
Expand Down

0 comments on commit d18a60d

Please sign in to comment.