Skip to content
This repository was archived by the owner on Feb 10, 2025. It is now read-only.

Commit f70250d

Browse files
authored
Update RTDB.php
1 parent d4f3d42 commit f70250d

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/Broadcasters/RTDB.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
use Illuminate\Support\Arr;
66
use Kreait\Firebase\Factory;
7-
use Kreait\Firebase\ServiceAccount;
87
use Kreait\Firebase\Exception\ApiException;
98
use Illuminate\Broadcasting\BroadcastException;
109
use Illuminate\Broadcasting\Broadcasters\Broadcaster;
@@ -25,9 +24,9 @@ class RTDB extends Broadcaster
2524
public function __construct($config)
2625
{
2726
$this->config = $config;
28-
$factory = (new Factory())
29-
->withServiceAccount(base_path($config['creds_file']))
30-
->withDatabaseUri($config['databaseURL']);
27+
$factory = (new Factory())
28+
->withServiceAccount(base_path($config['creds_file']))
29+
->withDatabaseUri($config['databaseURL']);
3130

3231
$this->db = $factory->createDatabase();
3332
}

0 commit comments

Comments
 (0)