Skip to content

Commit 8b3e63f

Browse files
bshafferdwsupplee
authored andcommitted
Cast keySet keys to arrays instead of wrapping them (#505)
* cast keySet keys to arrays instead of wrapping them * adds tests for keyset formatting
1 parent 2d09676 commit 8b3e63f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Connection/Grpc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -661,7 +661,7 @@ private function formatKeySet(array $keySet)
661661
$keySet['keys'] = [];
662662

663663
foreach ($keys as $key) {
664-
$keySet['keys'][] = $this->formatListForApi([$key]);
664+
$keySet['keys'][] = $this->formatListForApi((array) $key);
665665
}
666666
}
667667

0 commit comments

Comments
 (0)