Skip to content

Commit f847b2b

Browse files
committed
Fixed style with php-cs-fixer
1 parent 697d09e commit f847b2b

File tree

5 files changed

+8
-10
lines changed

5 files changed

+8
-10
lines changed

bigtable/api/src/hw_get_with_filter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,4 @@
6565
'rowFilter' => $row_filter
6666
]);
6767
printf('%s' . PHP_EOL, $row[$columnFamilyId][$column][0]['value']);
68-
// [END bigtable_hw_get_with_filter]
68+
// [END bigtable_hw_get_with_filter]

bigtable/api/src/hw_scan_all.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
use Google\ApiCore\ApiException;
4040
use Google\Cloud\Bigtable\Table;
4141

42-
4342
/** Uncomment and populate these variables in your code */
4443
// $project_id = 'The Google project ID';
4544
// $instance_id = 'The Bigtable instance ID';
@@ -60,4 +59,4 @@
6059
foreach ($partial_rows as $row) {
6160
printf('%s' . PHP_EOL, $row[$columnFamilyId][$column][0]['value']);
6261
}
63-
// [END bigtable_hw_scan_all]
62+
// [END bigtable_hw_scan_all]

bigtable/api/src/hw_write_rows.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
use Google\ApiCore\ApiException;
4040
use Google\Cloud\Bigtable\Table;
4141

42-
4342
/** Uncomment and populate these variables in your code */
4443
// $project_id = 'The Google project ID';
4544
// $instance_id = 'The Bigtable instance ID';
@@ -66,4 +65,4 @@
6665
$entries[$row_key] = $rowMutation;
6766
}
6867
$table->mutateRows($entries);
69-
// [END bigtable_hw_write_rows]
68+
// [END bigtable_hw_write_rows]

bigtable/api/src/insert_update_rows.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,17 +49,18 @@
4949
$table
5050
);
5151

52-
$table = $dataClient->table($instance_id,$table_id);
52+
$table = $dataClient->table($instance_id, $table_id);
5353

5454
$columnFamily4 = new ColumnFamily();
5555
$columnModification = new Modification();
5656
$columnModification->setId('cf1');
5757
$columnModification->setCreate($columnFamily4);
5858
$tableAdminClient->modifyColumnFamilies($tableName, [$columnModification]);
5959

60-
function time_in_microseconds(){
60+
function time_in_microseconds()
61+
{
6162
$mt = microtime(true);
62-
$mt = sprintf('%.03f',$mt);
63+
$mt = sprintf('%.03f', $mt);
6364
return (float)$mt*1000000;
6465
}
6566
$insertRows = [

bigtable/api/src/quickstart.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
use Google\Cloud\Bigtable\Admin\V2\StorageType;
4040
use Google\ApiCore\ApiException;
4141

42-
4342
/** Uncomment and populate these variables in your code */
4443
// $project_id = 'The Google project ID';
4544
// $instance_id = 'The Bigtable instance ID';
@@ -64,4 +63,4 @@
6463
$value = $row[$column_family_id][$column_id][0]['value'];
6564

6665
printf("Row key: %s\nData: %s\n", $key, $value);
67-
// [END bigtable_quickstart]
66+
// [END bigtable_quickstart]

0 commit comments

Comments
 (0)