Skip to content

Commit

Permalink
Merge pull request #71 from peter279k/remove_catch
Browse files Browse the repository at this point in the history
Remove unused variable in catch block
  • Loading branch information
freekmurze authored Sep 19, 2023
2 parents 24864cf + 69574ef commit 392e4f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TemporaryDirectory.php
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ protected function deleteDirectory(string $path): bool
gc_collect_cycles();

return rmdir($path);
} catch (Throwable $throwable) {
} catch (Throwable) {
return false;
}
}
Expand Down

0 comments on commit 392e4f0

Please sign in to comment.