From 68f9d407bad248c26295b000ec7a36da09303027 Mon Sep 17 00:00:00 2001 From: Donatis Date: Thu, 17 Oct 2024 08:32:41 +0300 Subject: [PATCH] Remove return type --- src/Resources/Files.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Resources/Files.php b/src/Resources/Files.php index 9347876..a7e126a 100644 --- a/src/Resources/Files.php +++ b/src/Resources/Files.php @@ -116,7 +116,7 @@ public function upload(string $name, string $uploadPath, string $path = '', stri } } - protected function createUploadSession(string $name, string $path = '', string $type = 'me', string $behavior = 'rename'): array + protected function createUploadSession(string $name, string $path = '', string $type = 'me', string $behavior = 'rename') { $path = $path === '' ? $type."/drive/root:/$name:/createUploadSession" : $type.'/drive/root:'.$this->forceStartingSlash($path)."/$name:/createUploadSession";