mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Fix phpstan discovered issues
This commit is contained in:
@@ -137,7 +137,9 @@ final class NzbServicePathResolutionTest extends TestCase
|
||||
);
|
||||
|
||||
foreach ($iterator as $item) {
|
||||
if ($item->isDir()) {
|
||||
if ($item->isLink()) {
|
||||
unlink($item->getPathname());
|
||||
} elseif ($item->isDir()) {
|
||||
rmdir($item->getPathname());
|
||||
} else {
|
||||
unlink($item->getPathname());
|
||||
|
||||
Reference in New Issue
Block a user