Skip to content

Commit 004c9de

Browse files
Update directory path concatenation to remove spaces
1 parent bade42e commit 004c9de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cleanup.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@
2727

2828
function removeDirectory(string $dir): bool
2929
{
30-
if (!is_dir($dir)) {
30+
if (! is_dir($dir)) {
3131
return false;
3232
}
3333

3434
$files = array_diff(scandir($dir), ['.', '..']);
3535

3636
foreach ($files as $file) {
37-
$path = $dir . DIRECTORY_SEPARATOR . $file;
37+
$path = $dir.DIRECTORY_SEPARATOR.$file;
3838

3939
if (is_dir($path)) {
4040
removeDirectory($path);

0 commit comments

Comments
 (0)