Skip to content

Commit 7dcb8c4

Browse files
committed
fix tests.
1 parent 69ab7f4 commit 7dcb8c4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkg/fs/FsContext.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,9 @@ public function declareDestination(FsDestination $destination): void
9090
});
9191

9292
try {
93-
if (false == file_exists($destination->getFileInfo())) {
94-
touch($destination->getFileInfo());
95-
chmod($destination->getFileInfo(), $this->chmod);
93+
if (false == file_exists((string) $destination->getFileInfo())) {
94+
touch((string) $destination->getFileInfo());
95+
chmod((string) $destination->getFileInfo(), $this->chmod);
9696
}
9797
} finally {
9898
restore_error_handler();

0 commit comments

Comments
 (0)