Skip to content

Commit 78632a8

Browse files
committed
Fix issue which persisted before
1 parent 5618dfa commit 78632a8

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

docs/configuration.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,12 @@ You can autowire the connection in your services like this:
119119
```php
120120
use Doctrine\DBAL\Connection;
121121
122-
public function __construct(
123-
private readonly Connection $projectionConnection,
124-
) {
122+
class YourService
123+
{
124+
public function __construct(
125+
private readonly Connection $projectionConnection,
126+
) {
127+
}
125128
}
126129
```
127130
:::

0 commit comments

Comments
 (0)