Skip to content

Commit

Permalink
code-checker
Browse files Browse the repository at this point in the history
  • Loading branch information
aiphee authored and aiphee committed Aug 5, 2017
1 parent cb7c1d5 commit 9cca089
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Caching/Storages/FileStorage.php
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ public function clean(array $conditions): void
$this->journal->clean($conditions);
}
return;
} else if($namespaces) {
} elseif ($namespaces) {
if (!is_array($namespaces)) {
$namespaces = [$namespaces];
}
Expand All @@ -295,7 +295,7 @@ public function clean(array $conditions): void
if (is_dir($dir)) {
$items = Nette\Utils\Finder::findFiles('')->from($dir);
foreach ($items as $item) {
$this->delete((string)$item);
$this->delete((string) $item);
}
@rmdir($dir);
}
Expand Down

0 comments on commit 9cca089

Please sign in to comment.