diff --git a/src/BackupHandlers/Files/FilesBackupHandler.php b/src/BackupHandlers/Files/FilesBackupHandler.php index cda8762c..179ca855 100644 --- a/src/BackupHandlers/Files/FilesBackupHandler.php +++ b/src/BackupHandlers/Files/FilesBackupHandler.php @@ -65,7 +65,7 @@ public function getAllPathFromFileArray($fileArray) } if (File::isDirectory($file)) { - $files += File::allFiles($file); + $files = array_merge($files, File::allFiles($file)); } }