@@ -38,7 +38,7 @@ public function run(string $statement, iterable $parameters = [], ?string $alias
3838 public function runStatement (Statement $ statement , ?string $ alias = null ): ?SummarizedResult
3939 {
4040 return $ this ->handler ->handle (
41- fn (Statement $ statement ) => $ this ->client ->runStatement ($ statement , $ alias ),
41+ fn (Statement $ statement ) => $ this ->client ->runStatement ($ statement , $ alias ),
4242 $ statement ,
4343 $ alias ,
4444 null
@@ -62,7 +62,7 @@ public function beginTransaction(
6262 ): UnmanagedTransactionInterface {
6363 $ tsx = new SymfonyTransaction ($ this ->client ->beginTransaction (null , $ alias , $ config ), $ this ->handler , $ alias );
6464
65- $ runHandler = fn (Statement $ statement ): CypherList => $ tsx ->runStatement ($ statement );
65+ $ runHandler = fn (Statement $ statement ): CypherList => $ tsx ->runStatement ($ statement );
6666
6767 foreach (($ statements ?? []) as $ statement ) {
6868 $ this ->handler ->handle ($ runHandler , $ statement , $ alias , null );
@@ -85,7 +85,7 @@ public function writeTransaction(
8585 $ session = $ this ->client ->getDriver ($ alias )->createSession ($ sessionConfig );
8686
8787 return TransactionHelper::retry (
88- fn () => new SymfonyTransaction ($ session ->beginTransaction ([], $ config ), $ this ->handler , $ alias ),
88+ fn () => new SymfonyTransaction ($ session ->beginTransaction ([], $ config ), $ this ->handler , $ alias ),
8989 $ tsxHandler
9090 );
9191 }
@@ -99,7 +99,7 @@ public function readTransaction(
9999 $ session = $ this ->client ->getDriver ($ alias )->createSession ($ sessionConfig );
100100
101101 return TransactionHelper::retry (
102- fn () => new SymfonyTransaction ($ session ->beginTransaction ([], $ config ), $ this ->handler , $ alias ),
102+ fn () => new SymfonyTransaction ($ session ->beginTransaction ([], $ config ), $ this ->handler , $ alias ),
103103 $ tsxHandler
104104 );
105105 }
0 commit comments