@@ -222,17 +222,6 @@ public function withDatabaseAuthVariableOverride(?array $override): self
222222 return $ factory ;
223223 }
224224
225- /**
226- * @deprecated 7.19.0 Use `createFirestore($database)` instead
227- * @see createFirestore()
228- *
229- * @param non-empty-string $database
230- */
231- public function withFirestoreDatabase (string $ database ): self
232- {
233- return $ this ->withFirestoreClientConfig (['database ' => $ database ]);
234- }
235-
236225 /**
237226 * @param array<non-empty-string, mixed> $config
238227 */
@@ -505,48 +494,6 @@ public function createStorage(): Contract\Storage
505494 return new Storage ($ storageClient , $ this ->getStorageBucketName ());
506495 }
507496
508- /**
509- * @deprecated 7.20.0
510- * @codeCoverageIgnore
511- *
512- * @return array<mixed>
513- */
514- public function getDebugInfo (): array
515- {
516- try {
517- $ projectId = $ this ->getProjectId ();
518- } catch (Throwable $ e ) {
519- $ projectId = $ e ->getMessage ();
520- }
521-
522- try {
523- $ credentials = $ this ->getGoogleAuthTokenCredentials ();
524-
525- if ($ credentials !== null ) {
526- $ credentials = $ credentials ::class;
527- }
528- } catch (Throwable $ e ) {
529- $ credentials = $ e ->getMessage ();
530- }
531-
532- try {
533- $ databaseUrl = $ this ->getDatabaseUrl ();
534- } catch (Throwable $ e ) {
535- $ databaseUrl = $ e ->getMessage ();
536- }
537-
538- return [
539- 'credentialsType ' => $ credentials ,
540- 'databaseUrl ' => $ databaseUrl ,
541- 'defaultStorageBucket ' => $ this ->defaultStorageBucket ,
542- 'projectId ' => $ projectId ,
543- 'serviceAccount ' => $ this ->getServiceAccount (),
544- 'tenantId ' => $ this ->tenantId ,
545- 'tokenCacheType ' => $ this ->authTokenCache !== null ? $ this ->authTokenCache ::class : $ this ->defaultCache ::class,
546- 'verifierCacheType ' => $ this ->verifierCache !== null ? $ this ->verifierCache ::class : $ this ->defaultCache ::class,
547- ];
548- }
549-
550497 /**
551498 * @param array<non-empty-string, mixed>|null $config
552499 * @param array<callable(callable): callable>|null $middlewares
0 commit comments