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";