@@ -393,7 +393,6 @@ public function patch($bucket, $object, StorageObject $postBody, $optParams = []
393
393
* @param string $object Name of the object. For information about how to URL
394
394
* encode object names to be path safe, see Encoding URI Path Parts.
395
395
* @param string $generation Selects a specific revision of this object.
396
- * @param StorageObject $postBody
397
396
* @param array $optParams Optional parameters.
398
397
*
399
398
* @opt_param bool copySourceAcl If true, copies the source object's ACL;
@@ -416,9 +415,9 @@ public function patch($bucket, $object, StorageObject $postBody, $optParams = []
416
415
* @return StorageObject
417
416
* @throws \Google\Service\Exception
418
417
*/
419
- public function restore ($ bucket , $ object , $ generation , StorageObject $ postBody , $ optParams = [])
418
+ public function restore ($ bucket , $ object , $ generation , $ optParams = [])
420
419
{
421
- $ params = ['bucket ' => $ bucket , 'object ' => $ object , 'generation ' => $ generation, ' postBody ' => $ postBody ];
420
+ $ params = ['bucket ' => $ bucket , 'object ' => $ object , 'generation ' => $ generation ];
422
421
$ params = array_merge ($ params , $ optParams );
423
422
return $ this ->call ('restore ' , [$ params ], StorageObject::class);
424
423
}
0 commit comments