Skip to content

Commit b52f3a0

Browse files
chore: reorder imports to comply with the CS check (#9398)
1 parent 2aaffe7 commit b52f3a0

2 files changed

Lines changed: 2 additions & 5 deletions

File tree

Spanner/src/Database.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@
5353
use Google\Cloud\Spanner\V1\Client\SpannerClient;
5454
use Google\Cloud\Spanner\V1\ExecuteSqlRequest;
5555
use Google\Cloud\Spanner\V1\Mutation;
56-
use Google\Cloud\Spanner\V1\ReadRequest;
5756
use Google\Cloud\Spanner\V1\Mutation\Delete;
5857
use Google\Cloud\Spanner\V1\Mutation\Write;
58+
use Google\Cloud\Spanner\V1\ReadRequest;
5959
use Google\Cloud\Spanner\V1\TransactionOptions\IsolationLevel;
6060
use Google\Cloud\Spanner\V1\TransactionOptions\ReadWrite\ReadLockMode;
6161
use Google\Cloud\Spanner\V1\TypeCode;

Spanner/src/Transaction.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -492,10 +492,7 @@ public function commit(array $options = []): Timestamp
492492
if ($this->precommitToken) {
493493
$commitOptions['precommitToken'] = $this->precommitToken;
494494
}
495-
if (isset($commitOptions['requestOptions'])
496-
&& is_array($commitOptions['requestOptions'])
497-
&& isset($commitOptions['requestOptions']['requestTag'])
498-
) {
495+
if (isset($commitOptions['requestOptions'])) {
499496
unset($commitOptions['requestOptions']['requestTag']);
500497
if (0 === count($commitOptions['requestOptions'])) {
501498
unset($commitOptions['requestOptions']);

0 commit comments

Comments
 (0)