Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6b7ba1d

Browse files
Updated exception path and annotations inFilesystemService
1 parent5d6fad2 commit6b7ba1d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

‎src/Services/FilesystemService.php‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,11 @@ public function release($resource, string $path): void // @pest-ignore-type
9191
$this->file->move($temp,$path);
9292

9393
$this->cleanTemporaryDirectory($temp);
94+
// @codeCoverageIgnoreStart
9495
}catch (Throwable$e) {
95-
thrownewCloseFeedException($path,$e);
96+
thrownewCloseFeedException($temp,$e);
9697
}
98+
// @codeCoverageIgnoreEnd
9799
}
98100

99101
/**
@@ -137,7 +139,7 @@ protected function temporaryFilename(string $filename): string
137139
/**
138140
* @param resource $file
139141
*/
140-
protectedfunctiongetMetaPath($file):string
142+
protectedfunctiongetMetaPath($file):string// @pest-ignore-type
141143
{
142144
$meta =stream_get_meta_data($file);
143145

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp