Skip to content

Commit

Permalink
Regenerate storage client (#4777)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-code-bot authored Mar 10, 2024
1 parent 587e35a commit 5662d2a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Storage/Resource/Objects.php
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,6 @@ public function patch($bucket, $object, StorageObject $postBody, $optParams = []
* @param string $object Name of the object. For information about how to URL
* encode object names to be path safe, see Encoding URI Path Parts.
* @param string $generation Selects a specific revision of this object.
* @param StorageObject $postBody
* @param array $optParams Optional parameters.
*
* @opt_param bool copySourceAcl If true, copies the source object's ACL;
Expand All @@ -416,9 +415,9 @@ public function patch($bucket, $object, StorageObject $postBody, $optParams = []
* @return StorageObject
* @throws \Google\Service\Exception
*/
public function restore($bucket, $object, $generation, StorageObject $postBody, $optParams = [])
public function restore($bucket, $object, $generation, $optParams = [])
{
$params = ['bucket' => $bucket, 'object' => $object, 'generation' => $generation, 'postBody' => $postBody];
$params = ['bucket' => $bucket, 'object' => $object, 'generation' => $generation];
$params = array_merge($params, $optParams);
return $this->call('restore', [$params], StorageObject::class);
}
Expand Down

0 comments on commit 5662d2a

Please sign in to comment.