Skip to content

Commit 9cca089

Browse files
aipheeaiphee
authored andcommitted
code-checker
1 parent cb7c1d5 commit 9cca089

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Caching/Storages/FileStorage.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ public function clean(array $conditions): void
285285
$this->journal->clean($conditions);
286286
}
287287
return;
288-
} else if($namespaces) {
288+
} elseif ($namespaces) {
289289
if (!is_array($namespaces)) {
290290
$namespaces = [$namespaces];
291291
}
@@ -295,7 +295,7 @@ public function clean(array $conditions): void
295295
if (is_dir($dir)) {
296296
$items = Nette\Utils\Finder::findFiles('')->from($dir);
297297
foreach ($items as $item) {
298-
$this->delete((string)$item);
298+
$this->delete((string) $item);
299299
}
300300
@rmdir($dir);
301301
}

0 commit comments

Comments
 (0)