Skip to content

Commit 05edf74

Browse files
authored
fix: Support dot notation in docs (#8450)
1 parent 0793901 commit 05edf74

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

BigQuery/src/BigQueryClient.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,7 @@ public function runQuery(JobConfigurationInterface $query, array $options = [])
363363
'timeoutMs',
364364
'maxRetries',
365365
'returnRawResults',
366+
'formatOptions',
366367
'formatOptions.useInt64Timestamp'
367368
], $options);
368369
$queryResultsOptions['initialTimeoutMs'] = 10000;

dev/src/DocFx/Node/ParameterNode.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public function getNestedParameters(): array
9494

9595
foreach ($nestedParameters as $param) {
9696
// Parse "@type string $key" syntax
97-
if (!preg_match('/^([^ ]+) +([\$\w]+)(.*)?/sm', trim($param), $matches)) {
97+
if (!preg_match('/^([^ ]+) +([\$\w\.]+)(.*)?/sm', trim($param), $matches)) {
9898
throw new \LogicException('unable to parse nested parameter "' . $param . '"');
9999
}
100100
list($_, $type, $name, $description) = $matches + [3 => ''];

0 commit comments

Comments
 (0)