Skip to content

Commit 869b0f7

Browse files
authored
Fix connection init && config publishing (#20)
1 parent 66b7361 commit 869b0f7

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
```shell
1818
composer require umbrellio/php-table-sync
19+
php artisan vendor:publish --tag=config-table-sync
1920
```
2021

2122
## Usage

src/Integration/Laravel/TableSyncServiceProvider.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function boot(): void
3535

3636
$this->publishes([
3737
$config => base_path('config/table_sync.php'),
38-
], 'config');
38+
], 'config-table-sync');
3939
}
4040

4141
public function configureChannel(): void

src/Rabbit/ConnectionContainer.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class ConnectionContainer
1212
{
1313
private mixed $waitBeforeReconnectMicroseconds = 1000000;
1414

15-
private ?AbstractConnection $connection;
15+
private ?AbstractConnection $connection = null;
1616

1717
public function __construct(
1818
private readonly string $host,

0 commit comments

Comments
 (0)