ftp implementation

This commit is contained in:
Čarodej
2022-04-11 09:34:25 +02:00
parent 7740e1673f
commit fbc9eed30b
12 changed files with 192 additions and 83 deletions

View File

@@ -272,10 +272,8 @@ if (! function_exists('get_storage')) {
if (! function_exists('isStorageDriver')) {
/**
* Check if is running AWS s3 as storage
*
* @return bool
*/
function isStorageDriver($driver)
function isStorageDriver(string|array $driver): bool
{
if (is_array($driver)) {
return in_array(config('filesystems.default'), $driver);