Skip to content

Commit d2ce89f

Browse files
committed
chore: Run fix-cs
1 parent 5298dce commit d2ce89f

File tree

8 files changed

+11
-11
lines changed

8 files changed

+11
-11
lines changed

src/Collector/Neo4jDataCollector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
final class Neo4jDataCollector extends AbstractDataCollector
2424
{
2525
public function __construct(
26-
private readonly Neo4jProfileListener $subscriber
26+
private readonly Neo4jProfileListener $subscriber,
2727
) {
2828
}
2929

src/Event/FailureEvent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public function __construct(
1919
private readonly Statement $statement,
2020
private readonly Neo4jException $exception,
2121
private readonly \DateTimeInterface $time,
22-
private readonly ?string $scheme
22+
private readonly ?string $scheme,
2323
) {
2424
}
2525

src/Event/PostRunEvent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public function __construct(
1515
private readonly ?string $alias,
1616
private readonly ResultSummary $result,
1717
private readonly \DateTimeInterface $time,
18-
private readonly ?string $scheme
18+
private readonly ?string $scheme,
1919
) {
2020
}
2121

src/Event/PreRunEvent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public function __construct(
1515
private readonly ?string $alias,
1616
private readonly Statement $statement,
1717
private readonly \DateTimeInterface $time,
18-
private readonly ?string $scheme
18+
private readonly ?string $scheme,
1919
) {
2020
}
2121

src/EventHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class EventHandler
2828
public function __construct(
2929
?EventDispatcherInterface $dispatcher,
3030
private readonly string $alias,
31-
private readonly ?Stopwatch $stopwatch
31+
private readonly ?Stopwatch $stopwatch,
3232
) {
3333
$this->dispatcher = $dispatcher;
3434
}

src/SymfonyClient.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class SymfonyClient implements ClientInterface
2626
*/
2727
public function __construct(
2828
private readonly ClientInterface $client,
29-
private readonly EventHandler $handler
29+
private readonly EventHandler $handler,
3030
) {
3131
}
3232

@@ -58,7 +58,7 @@ public function runStatements(iterable $statements, ?string $alias = null): Cyph
5858
public function beginTransaction(
5959
?iterable $statements = null,
6060
?string $alias = null,
61-
?TransactionConfiguration $config = null
61+
?TransactionConfiguration $config = null,
6262
): UnmanagedTransactionInterface {
6363
$tsx = new SymfonyTransaction($this->client->beginTransaction(null, $alias, $config), $this->handler, $alias);
6464

@@ -79,7 +79,7 @@ public function getDriver(?string $alias): DriverInterface
7979
public function writeTransaction(
8080
callable $tsxHandler,
8181
?string $alias = null,
82-
?TransactionConfiguration $config = null
82+
?TransactionConfiguration $config = null,
8383
) {
8484
$sessionConfig = SessionConfiguration::default()->withAccessMode(AccessMode::READ());
8585
$session = $this->client->getDriver($alias)->createSession($sessionConfig);
@@ -93,7 +93,7 @@ public function writeTransaction(
9393
public function readTransaction(
9494
callable $tsxHandler,
9595
?string $alias = null,
96-
?TransactionConfiguration $config = null
96+
?TransactionConfiguration $config = null,
9797
) {
9898
$sessionConfig = SessionConfiguration::default()->withAccessMode(AccessMode::WRITE());
9999
$session = $this->client->getDriver($alias)->createSession($sessionConfig);

src/SymfonyTransaction.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class SymfonyTransaction implements UnmanagedTransactionInterface
2121
public function __construct(
2222
private readonly UnmanagedTransactionInterface $tsx,
2323
private readonly EventHandler $handler,
24-
private readonly ?string $alias
24+
private readonly ?string $alias,
2525
) {
2626
}
2727

tests/App/Controller/TestController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
class TestController extends AbstractController
1212
{
1313
public function __construct(
14-
private readonly ClientInterface $client
14+
private readonly ClientInterface $client,
1515
) {
1616
}
1717

0 commit comments

Comments
 (0)