File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -168,7 +168,7 @@ private function fromArray(array $arr): void
168168 $ this ->setApiEndpoint ($ arr ['apiEndpoint ' ] ?? null );
169169 $ this ->setDisableRetries ($ arr ['disableRetries ' ] ?? false );
170170 $ this ->setClientConfig ($ arr ['clientConfig ' ] ?? []);
171- $ this ->setCredentials ($ arr ['credentials ' ]);
171+ $ this ->setCredentials ($ arr ['credentials ' ] ?? null );
172172 $ this ->setCredentialsConfig ($ arr ['credentialsConfig ' ] ?? []);
173173 $ this ->setTransport ($ arr ['transport ' ] ?? null );
174174 $ this ->setTransportConfig (new TransportOptions ($ arr ['transportConfig ' ] ?? []));
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ public function __construct(array $options)
6969 private function fromArray (array $ arr ): void
7070 {
7171 $ this ->setGrpc (new GrpcTransportOptions ($ arr ['grpc ' ] ?? []));
72- $ this ->setGrpcFallback (new GrpcFallbackTransportOptions ($ arr ['grpc-fallack ' ] ?? []));
72+ $ this ->setGrpcFallback (new GrpcFallbackTransportOptions ($ arr ['grpc-fallback ' ] ?? []));
7373 $ this ->setRest (new RestTransportOptions ($ arr ['rest ' ] ?? []));
7474 }
7575
You can’t perform that action at this time.
0 commit comments