Skip to content

Commit 5662d2a

Browse files
1 parent 587e35a commit 5662d2a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/Storage/Resource/Objects.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,6 @@ public function patch($bucket, $object, StorageObject $postBody, $optParams = []
393393
* @param string $object Name of the object. For information about how to URL
394394
* encode object names to be path safe, see Encoding URI Path Parts.
395395
* @param string $generation Selects a specific revision of this object.
396-
* @param StorageObject $postBody
397396
* @param array $optParams Optional parameters.
398397
*
399398
* @opt_param bool copySourceAcl If true, copies the source object's ACL;
@@ -416,9 +415,9 @@ public function patch($bucket, $object, StorageObject $postBody, $optParams = []
416415
* @return StorageObject
417416
* @throws \Google\Service\Exception
418417
*/
419-
public function restore($bucket, $object, $generation, StorageObject $postBody, $optParams = [])
418+
public function restore($bucket, $object, $generation, $optParams = [])
420419
{
421-
$params = ['bucket' => $bucket, 'object' => $object, 'generation' => $generation, 'postBody' => $postBody];
420+
$params = ['bucket' => $bucket, 'object' => $object, 'generation' => $generation];
422421
$params = array_merge($params, $optParams);
423422
return $this->call('restore', [$params], StorageObject::class);
424423
}

0 commit comments

Comments
 (0)