mirror of
https://github.com/fenom-template/fenom.git
synced 2023-08-10 21:13:07 +03:00
Fix indents
This commit is contained in:
parent
c76f5c8be0
commit
0457d5c379
@ -26,9 +26,13 @@ class Provider implements ProviderInterface {
|
|||||||
if(is_file($path)) {
|
if(is_file($path)) {
|
||||||
unlink($path);
|
unlink($path);
|
||||||
} elseif(is_dir($path)) {
|
} elseif(is_dir($path)) {
|
||||||
$iterator = iterator_to_array(new \RecursiveIteratorIterator(new \RecursiveDirectoryIterator($path,
|
$iterator = iterator_to_array(
|
||||||
|
new \RecursiveIteratorIterator(
|
||||||
|
new \RecursiveDirectoryIterator($path,
|
||||||
\FilesystemIterator::KEY_AS_PATHNAME | \FilesystemIterator::CURRENT_AS_FILEINFO | \FilesystemIterator::SKIP_DOTS),
|
\FilesystemIterator::KEY_AS_PATHNAME | \FilesystemIterator::CURRENT_AS_FILEINFO | \FilesystemIterator::SKIP_DOTS),
|
||||||
\RecursiveIteratorIterator::CHILD_FIRST));
|
\RecursiveIteratorIterator::CHILD_FIRST
|
||||||
|
)
|
||||||
|
);
|
||||||
foreach($iterator as $file) {
|
foreach($iterator as $file) {
|
||||||
/* @var \splFileInfo $file*/
|
/* @var \splFileInfo $file*/
|
||||||
if($file->isFile()) {
|
if($file->isFile()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user