We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I updated from 1.75.1 to 1.76.0 the returned value changed from int to string. PhpDoc says it should return int.
1.75.1
1.76.0
int
string
$instanceId = getenv('SPANNER_INSTANCE'); $databaseId = getenv('SPANNER_DATABASE'); $client = new SpannerClient(); $database = $client->connect($instanceId, $databaseId); $database->create(['statements' => [ 'CREATE TABLE `Test` (`id` STRING(36) NOT NULL, `text` STRING(MAX)) PRIMARY KEY (`id`)'], ])->pollUntilComplete(); $statement = "UPDATE `Test` SET `text` = @p0 WHERE `text` = @p1"; $parameters = ['p0' => 'after', 'p1' => 'before']; $result = $database->executePartitionedUpdate($statement, ['parameters' => $parameters]); var_dump($result); // string(1) "0"
The text was updated successfully, but these errors were encountered:
saranshdhingra
Successfully merging a pull request may close this issue.
When I updated from
1.75.1
to1.76.0
the returned value changed fromint
tostring
.PhpDoc says it should return
int
.Environment details
Steps to reproduce
Code example
The text was updated successfully, but these errors were encountered: