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 68f8320 commit 9c510c4Copy full SHA for 9c510c4
src/Services/FilesystemService.php
@@ -25,7 +25,6 @@ class FilesystemService
25
{
26
public function __construct(
27
protected File $file,
28
- protected TemporaryDirectory $directory,
29
) {}
30
31
/**
@@ -109,7 +108,7 @@ protected function cleanTemporaryDirectory(string $filename): void
109
108
110
protected function draftPath(string $filename): string
111
112
- return $this->directory
+ return (new TemporaryDirectory)
113
->name($this->temporaryFilename($filename))
114
->create()
115
->path((string) microtime(true));
0 commit comments