Skip to content

Commit 7fca565

Browse files
committed
Leverage non-capturing catches
1 parent d160eaf commit 7fca565

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Filesystem.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ private static function doRemove(array $files, bool $isRecursive): void
166166
if (file_exists($tmpName)) {
167167
try {
168168
self::doRemove([$tmpName], true);
169-
} catch (IOException $e) {
169+
} catch (IOException) {
170170
}
171171
}
172172

0 commit comments

Comments
 (0)