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 69ab7f4 commit 7dcb8c4Copy full SHA for 7dcb8c4
pkg/fs/FsContext.php
@@ -90,9 +90,9 @@ public function declareDestination(FsDestination $destination): void
90
});
91
92
try {
93
- if (false == file_exists($destination->getFileInfo())) {
94
- touch($destination->getFileInfo());
95
- chmod($destination->getFileInfo(), $this->chmod);
+ if (false == file_exists((string) $destination->getFileInfo())) {
+ touch((string) $destination->getFileInfo());
+ chmod((string) $destination->getFileInfo(), $this->chmod);
96
}
97
} finally {
98
restore_error_handler();
0 commit comments