We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f0cb90 commit 26764c5Copy full SHA for 26764c5
src/Adapter/Local/File.php
@@ -79,7 +79,7 @@ public function copyTo($directory, int $mode = 0775)
79
return $directory->createFile(
80
$this->getName(),
81
$this->read(),
82
- (int) $this->getPermission()
+ $mode
83
);
84
}
85
0 commit comments