Type error fixed

This commit is contained in:
EnesSacid-Buker 2023-01-17 15:00:00 +03:00 committed by GitHub
parent 51babd4d16
commit fc8b9b5090
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,7 +23,7 @@ trait Updates
/** /**
* delete the files. * delete the files.
*/ */
public function deleteFiles(array $files, $alias = null): void public function deleteFiles(array $files, $alias = ''): void
{ {
$path = $this->getPathByAlias($alias); $path = $this->getPathByAlias($alias);
@ -35,7 +35,7 @@ trait Updates
/** /**
* delete the folders. * delete the folders.
*/ */
public function deleteFolders(array $folders, $alias = null): void public function deleteFolders(array $folders, $alias = ''): void
{ {
$path = $this->getPathByAlias($alias); $path = $this->getPathByAlias($alias);