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 @@ -524,7 +524,7 @@ public function createFirestore(?string $databaseName = null): Contract\Firestor
524524 public function createStorage (): Contract \Storage
525525 {
526526 try {
527- $ storageClient = new StorageClient ($ this ->googleCloudClientConfig ());
527+ $ storageClient = new StorageClient ($ this ->googleCloudClientConfig ()); // @phpstan-ignore method.deprecated
528528 } catch (Throwable $ e ) {
529529 throw new RuntimeException ('Unable to create a StorageClient: ' .$ e ->getMessage (), $ e ->getCode (), $ e );
530530 }
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ private function __construct(private readonly FirestoreClient $client)
2323 public static function fromConfig (array $ config ): Contract \Firestore
2424 {
2525 try {
26- return new self (new FirestoreClient ($ config ));
26+ return new self (new FirestoreClient ($ config )); // @phpstan-ignore method.deprecated
2727 } catch (Throwable $ e ) {
2828 throw new RuntimeException ('Unable to create a FirestoreClient: ' .$ e ->getMessage (), $ e ->getCode (), $ e );
2929 }
You can’t perform that action at this time.
0 commit comments