mirror of
https://github.com/Mibew/handlebars.php.git
synced 2024-11-15 08:44:12 +03:00
whoops :)
This commit is contained in:
parent
80e9f71b82
commit
1398da791d
@ -150,7 +150,7 @@ class HandlebarsTest extends \PHPUnit_Framework_TestCase
|
||||
{
|
||||
$files = array_diff(scandir($dir), array('.', '..'));
|
||||
foreach ($files as $file) {
|
||||
(is_dir("$dir/$file")) ? delTree("$dir/$file") : unlink("$dir/$file");
|
||||
(is_dir("$dir/$file")) ? $this->delTree("$dir/$file") : unlink("$dir/$file");
|
||||
}
|
||||
|
||||
return rmdir($dir);
|
||||
|
Loading…
Reference in New Issue
Block a user