static analysis

This commit is contained in:
Dylan K. Taylor
2017-07-13 16:45:24 +01:00
parent 23866359c9
commit 4d874e7e78
6 changed files with 7 additions and 6 deletions

View File

@ -37,7 +37,7 @@ class BaseLang{
}
if(is_dir($path)){
$allFiles = scandir($path);
$allFiles = scandir($path, SCANDIR_SORT_NONE);
if($allFiles !== false){
$files = array_filter($allFiles, function($filename){