From 1a81eb8cfa60ed1252ee734750a0dfdbcd414d5b Mon Sep 17 00:00:00 2001 From: Brent Shaffer Date: Thu, 25 May 2023 19:13:09 -0600 Subject: [PATCH] chore: fix test whitespace (#632) --- .../src/V1/Gapic/AssetServiceGapicClient.php | 8 +++--- .../V1/Gapic/ClusterControllerGapicClient.php | 24 ++++++++-------- .../src/V1/Gapic/JobControllerGapicClient.php | 4 +-- .../src/V1/Gapic/CloudRedisGapicClient.php | 28 +++++++++---------- .../Gapic/CompletionServiceGapicClient.php | 4 +-- .../Gapic/ProductServiceGapicClient.php | 20 ++++++------- .../Gapic/UserEventServiceGapicClient.php | 12 ++++---- .../V1/Gapic/SecurityCenterGapicClient.php | 4 +-- .../speech/src/V1/Gapic/SpeechGapicClient.php | 8 +++--- .../V4beta1/Gapic/JobServiceGapicClient.php | 12 ++++---- .../VideoIntelligenceServiceGapicClient.php | 8 +++--- .../out/src/Gapic/LibraryGapicClient.php | 8 +++--- .../out/src/Gapic/BasicLroGapicClient.php | 8 +++--- ...GrpcServiceConfigWithRetry1GapicClient.php | 4 +-- 14 files changed, 76 insertions(+), 76 deletions(-) diff --git a/tests/Integration/goldens/asset/src/V1/Gapic/AssetServiceGapicClient.php b/tests/Integration/goldens/asset/src/V1/Gapic/AssetServiceGapicClient.php index b1b37d058..33af34533 100644 --- a/tests/Integration/goldens/asset/src/V1/Gapic/AssetServiceGapicClient.php +++ b/tests/Integration/goldens/asset/src/V1/Gapic/AssetServiceGapicClient.php @@ -468,7 +468,7 @@ public function analyzeIamPolicy($analysisQuery, array $optionalArgs = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -485,7 +485,7 @@ public function analyzeIamPolicy($analysisQuery, array $optionalArgs = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -793,7 +793,7 @@ public function deleteFeed($name, array $optionalArgs = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -810,7 +810,7 @@ public function deleteFeed($name, array $optionalArgs = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) diff --git a/tests/Integration/goldens/dataproc/src/V1/Gapic/ClusterControllerGapicClient.php b/tests/Integration/goldens/dataproc/src/V1/Gapic/ClusterControllerGapicClient.php index 9cf772758..36c551488 100644 --- a/tests/Integration/goldens/dataproc/src/V1/Gapic/ClusterControllerGapicClient.php +++ b/tests/Integration/goldens/dataproc/src/V1/Gapic/ClusterControllerGapicClient.php @@ -68,7 +68,7 @@ * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -85,7 +85,7 @@ * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -364,7 +364,7 @@ public function __construct(array $options = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -381,7 +381,7 @@ public function __construct(array $options = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -562,7 +562,7 @@ public function deleteCluster($projectId, $region, $clusterName, array $optional * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -579,7 +579,7 @@ public function deleteCluster($projectId, $region, $clusterName, array $optional * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -780,7 +780,7 @@ public function listClusters($projectId, $region, array $optionalArgs = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -797,7 +797,7 @@ public function listClusters($projectId, $region, array $optionalArgs = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -877,7 +877,7 @@ public function startCluster($projectId, $region, $clusterName, array $optionalA * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -894,7 +894,7 @@ public function startCluster($projectId, $region, $clusterName, array $optionalA * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -980,7 +980,7 @@ public function stopCluster($projectId, $region, $clusterName, array $optionalAr * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -997,7 +997,7 @@ public function stopCluster($projectId, $region, $clusterName, array $optionalAr * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) diff --git a/tests/Integration/goldens/dataproc/src/V1/Gapic/JobControllerGapicClient.php b/tests/Integration/goldens/dataproc/src/V1/Gapic/JobControllerGapicClient.php index b495f5165..af178941f 100644 --- a/tests/Integration/goldens/dataproc/src/V1/Gapic/JobControllerGapicClient.php +++ b/tests/Integration/goldens/dataproc/src/V1/Gapic/JobControllerGapicClient.php @@ -531,7 +531,7 @@ public function submitJob($projectId, $region, $job, array $optionalArgs = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -548,7 +548,7 @@ public function submitJob($projectId, $region, $job, array $optionalArgs = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) diff --git a/tests/Integration/goldens/redis/src/V1/Gapic/CloudRedisGapicClient.php b/tests/Integration/goldens/redis/src/V1/Gapic/CloudRedisGapicClient.php index 6d6b4ca7a..1c3754880 100644 --- a/tests/Integration/goldens/redis/src/V1/Gapic/CloudRedisGapicClient.php +++ b/tests/Integration/goldens/redis/src/V1/Gapic/CloudRedisGapicClient.php @@ -81,7 +81,7 @@ * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -98,7 +98,7 @@ * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -384,7 +384,7 @@ public function __construct(array $options = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -401,7 +401,7 @@ public function __construct(array $options = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -532,7 +532,7 @@ public function deleteInstance($name, array $optionalArgs = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -549,7 +549,7 @@ public function deleteInstance($name, array $optionalArgs = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -601,7 +601,7 @@ public function exportInstance($name, $outputConfig, array $optionalArgs = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -618,7 +618,7 @@ public function exportInstance($name, $outputConfig, array $optionalArgs = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -724,7 +724,7 @@ public function getInstance($name, array $optionalArgs = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -741,7 +741,7 @@ public function getInstance($name, array $optionalArgs = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -875,7 +875,7 @@ public function listInstances($parent, array $optionalArgs = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -892,7 +892,7 @@ public function listInstances($parent, array $optionalArgs = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -951,7 +951,7 @@ public function updateInstance($updateMask, $instance, array $optionalArgs = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -968,7 +968,7 @@ public function updateInstance($updateMask, $instance, array $optionalArgs = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) diff --git a/tests/Integration/goldens/retail/src/V2alpha/Gapic/CompletionServiceGapicClient.php b/tests/Integration/goldens/retail/src/V2alpha/Gapic/CompletionServiceGapicClient.php index d56051568..fb9bb452e 100644 --- a/tests/Integration/goldens/retail/src/V2alpha/Gapic/CompletionServiceGapicClient.php +++ b/tests/Integration/goldens/retail/src/V2alpha/Gapic/CompletionServiceGapicClient.php @@ -441,7 +441,7 @@ public function completeQuery($catalog, $query, array $optionalArgs = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -458,7 +458,7 @@ public function completeQuery($catalog, $query, array $optionalArgs = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) diff --git a/tests/Integration/goldens/retail/src/V2alpha/Gapic/ProductServiceGapicClient.php b/tests/Integration/goldens/retail/src/V2alpha/Gapic/ProductServiceGapicClient.php index a69796788..a2c3ec2ab 100644 --- a/tests/Integration/goldens/retail/src/V2alpha/Gapic/ProductServiceGapicClient.php +++ b/tests/Integration/goldens/retail/src/V2alpha/Gapic/ProductServiceGapicClient.php @@ -74,7 +74,7 @@ * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -91,7 +91,7 @@ * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -402,7 +402,7 @@ public function __construct(array $options = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -419,7 +419,7 @@ public function __construct(array $options = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -708,7 +708,7 @@ public function getProduct($name, array $optionalArgs = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -725,7 +725,7 @@ public function getProduct($name, array $optionalArgs = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -992,7 +992,7 @@ public function listProducts($parent, array $optionalArgs = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -1009,7 +1009,7 @@ public function listProducts($parent, array $optionalArgs = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -1155,7 +1155,7 @@ public function removeFulfillmentPlaces($product, $type, $placeIds, array $optio * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -1172,7 +1172,7 @@ public function removeFulfillmentPlaces($product, $type, $placeIds, array $optio * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) diff --git a/tests/Integration/goldens/retail/src/V2alpha/Gapic/UserEventServiceGapicClient.php b/tests/Integration/goldens/retail/src/V2alpha/Gapic/UserEventServiceGapicClient.php index 1db9d5166..0281a8649 100644 --- a/tests/Integration/goldens/retail/src/V2alpha/Gapic/UserEventServiceGapicClient.php +++ b/tests/Integration/goldens/retail/src/V2alpha/Gapic/UserEventServiceGapicClient.php @@ -423,7 +423,7 @@ public function collectUserEvent($parent, $userEvent, array $optionalArgs = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -440,7 +440,7 @@ public function collectUserEvent($parent, $userEvent, array $optionalArgs = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -502,7 +502,7 @@ public function importUserEvents($parent, $inputConfig, array $optionalArgs = [] * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -519,7 +519,7 @@ public function importUserEvents($parent, $inputConfig, array $optionalArgs = [] * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -609,7 +609,7 @@ public function purgeUserEvents($parent, $filter, array $optionalArgs = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -626,7 +626,7 @@ public function purgeUserEvents($parent, $filter, array $optionalArgs = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) diff --git a/tests/Integration/goldens/securitycenter/src/V1/Gapic/SecurityCenterGapicClient.php b/tests/Integration/goldens/securitycenter/src/V1/Gapic/SecurityCenterGapicClient.php index 9d62345bf..0acfc68c1 100644 --- a/tests/Integration/goldens/securitycenter/src/V1/Gapic/SecurityCenterGapicClient.php +++ b/tests/Integration/goldens/securitycenter/src/V1/Gapic/SecurityCenterGapicClient.php @@ -2258,7 +2258,7 @@ public function listSources($parent, array $optionalArgs = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -2275,7 +2275,7 @@ public function listSources($parent, array $optionalArgs = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) diff --git a/tests/Integration/goldens/speech/src/V1/Gapic/SpeechGapicClient.php b/tests/Integration/goldens/speech/src/V1/Gapic/SpeechGapicClient.php index ae6f25adf..a6d8d85fd 100644 --- a/tests/Integration/goldens/speech/src/V1/Gapic/SpeechGapicClient.php +++ b/tests/Integration/goldens/speech/src/V1/Gapic/SpeechGapicClient.php @@ -60,7 +60,7 @@ * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -77,7 +77,7 @@ * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -237,7 +237,7 @@ public function __construct(array $options = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -254,7 +254,7 @@ public function __construct(array $options = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) diff --git a/tests/Integration/goldens/talent/src/V4beta1/Gapic/JobServiceGapicClient.php b/tests/Integration/goldens/talent/src/V4beta1/Gapic/JobServiceGapicClient.php index 6d095f6d8..14c32806f 100644 --- a/tests/Integration/goldens/talent/src/V4beta1/Gapic/JobServiceGapicClient.php +++ b/tests/Integration/goldens/talent/src/V4beta1/Gapic/JobServiceGapicClient.php @@ -76,7 +76,7 @@ * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -93,7 +93,7 @@ * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -578,7 +578,7 @@ public function __construct(array $options = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -595,7 +595,7 @@ public function __construct(array $options = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -707,7 +707,7 @@ public function batchDeleteJobs($parent, $filter, array $optionalArgs = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -724,7 +724,7 @@ public function batchDeleteJobs($parent, $filter, array $optionalArgs = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) diff --git a/tests/Integration/goldens/videointelligence/src/V1/Gapic/VideoIntelligenceServiceGapicClient.php b/tests/Integration/goldens/videointelligence/src/V1/Gapic/VideoIntelligenceServiceGapicClient.php index d4c0630a9..cbb46d367 100644 --- a/tests/Integration/goldens/videointelligence/src/V1/Gapic/VideoIntelligenceServiceGapicClient.php +++ b/tests/Integration/goldens/videointelligence/src/V1/Gapic/VideoIntelligenceServiceGapicClient.php @@ -53,7 +53,7 @@ * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -70,7 +70,7 @@ * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -226,7 +226,7 @@ public function __construct(array $options = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -243,7 +243,7 @@ public function __construct(array $options = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) diff --git a/tests/Unit/ProtoTests/BasicDiregapic/out/src/Gapic/LibraryGapicClient.php b/tests/Unit/ProtoTests/BasicDiregapic/out/src/Gapic/LibraryGapicClient.php index 1387446b7..a6d3502f2 100644 --- a/tests/Unit/ProtoTests/BasicDiregapic/out/src/Gapic/LibraryGapicClient.php +++ b/tests/Unit/ProtoTests/BasicDiregapic/out/src/Gapic/LibraryGapicClient.php @@ -1263,7 +1263,7 @@ public function findRelatedBooks($names, $shelves, array $optionalArgs = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -1280,7 +1280,7 @@ public function findRelatedBooks($names, $shelves, array $optionalArgs = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -1857,7 +1857,7 @@ public function listStrings(array $optionalArgs = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -1874,7 +1874,7 @@ public function listStrings(array $optionalArgs = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) diff --git a/tests/Unit/ProtoTests/BasicLro/out/src/Gapic/BasicLroGapicClient.php b/tests/Unit/ProtoTests/BasicLro/out/src/Gapic/BasicLroGapicClient.php index 0c4b2ca51..efe53692b 100644 --- a/tests/Unit/ProtoTests/BasicLro/out/src/Gapic/BasicLroGapicClient.php +++ b/tests/Unit/ProtoTests/BasicLro/out/src/Gapic/BasicLroGapicClient.php @@ -49,7 +49,7 @@ * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -66,7 +66,7 @@ * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) @@ -222,7 +222,7 @@ public function __construct(array $options = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -239,7 +239,7 @@ public function __construct(array $options = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error) diff --git a/tests/Unit/ProtoTests/GrpcServiceConfig/out/src/Gapic/GrpcServiceConfigWithRetry1GapicClient.php b/tests/Unit/ProtoTests/GrpcServiceConfig/out/src/Gapic/GrpcServiceConfigWithRetry1GapicClient.php index 639adcfa5..95d911947 100644 --- a/tests/Unit/ProtoTests/GrpcServiceConfig/out/src/Gapic/GrpcServiceConfigWithRetry1GapicClient.php +++ b/tests/Unit/ProtoTests/GrpcServiceConfig/out/src/Gapic/GrpcServiceConfigWithRetry1GapicClient.php @@ -224,7 +224,7 @@ public function method1A(array $optionalArgs = []) * $operationResponse->pollUntilComplete(); * if ($operationResponse->operationSucceeded()) { * $result = $operationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $operationResponse->getError(); * // handleError($error) @@ -241,7 +241,7 @@ public function method1A(array $optionalArgs = []) * } * if ($newOperationResponse->operationSucceeded()) { * $result = $newOperationResponse->getResult(); - * // doSomethingWith($result) + * // doSomethingWith($result) * } else { * $error = $newOperationResponse->getError(); * // handleError($error)