File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1005,8 +1005,12 @@ private function formatPartitionQueryOptions(array $args): array
10051005 $ parameters = $ args ['parameters ' ] ?? [];
10061006 $ types = $ args ['types ' ] ?? [];
10071007
1008- $ paramsAndParamTypes = $ this ->mapper ->formatParamsForExecuteSql ($ parameters , $ types );
1009- return $ this ->formatSqlParams ($ paramsAndParamTypes );
1008+ /** @var array{params: array, paramTypes: array} $paramsAndParamTypes */
1009+ $ paramsAndParamTypes = $ this ->formatSqlParams (
1010+ $ this ->mapper ->formatParamsForExecuteSql ($ parameters , $ types )
1011+ );
1012+
1013+ return $ paramsAndParamTypes ;
10101014 }
10111015
10121016 /**
Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ public function __construct(bool $returnInt64AsObject)
137137 *
138138 * @param array $parameters The key/value parameters.
139139 * @param array $types The types of values.
140- * @return array An associative array containing params and paramTypes.
140+ * @return array{params: array, paramTypes: array}
141141 */
142142 public function formatParamsForExecuteSql (array $ parameters , array $ types = []): array
143143 {
@@ -836,8 +836,7 @@ private function objectParam(mixed $value): array
836836 * @param int $typeAnnotation The type annotation code
837837 * @param array $nestedDefinition [optional] A nested definition, to define
838838 * the structure of an array or struct type.
839- * @param string $nestedDefinitionType [optional] Either `arrayElementType`
840- * or `structType`.
839+ * @param 'arrayElementType'|'structType'|null $nestedDefinitionType
841840 * @return array{
842841 * code?: int,
843842 * arrayElementType?: array,
You can’t perform that action at this time.
0 commit comments