mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
static analysis
This commit is contained in:
@ -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){
|
||||
|
Reference in New Issue
Block a user