Skip to content

Commit cb04dc7

Browse files
committed
fix some syntax errors
1 parent 75f80c3 commit cb04dc7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/Firefox/FirefoxProfile.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -157,17 +157,17 @@ private function createTempDirectory($prefix = '') {
157157
*/
158158
private function deleteDirectory($directory) {
159159
$dir = new RecursiveDirectoryIterator($directory, FilesystemIterator::SKIP_DOTS);
160-
$files = new RecursiveIteratorIterator($dir, RecursiveIteratorIterator::CHILD_FIRST);
160+
$paths = new RecursiveIteratorIterator($dir, RecursiveIteratorIterator::CHILD_FIRST);
161161

162-
foreach($paths as $path) {
162+
foreach ($paths as $path) {
163163
if ($path->isDir() && !$path->isLink()) {
164164
rmdir($path->getPathname());
165165
} else {
166-
unlink($path->getPathname())
166+
unlink($path->getPathname());
167167
}
168168
}
169169

170-
rmdir($directory;
170+
rmdir($directory);
171171
}
172172

173173
/**

0 commit comments

Comments
 (0)