Skip to content

Commit 16f970c

Browse files
committed
fix: Remove create http driver
1 parent fbc89ad commit 16f970c

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

src/DriverFactory.php

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -73,26 +73,4 @@ private static function createNeo4jDriver(string|UriInterface $uri, ?DriverConfi
7373

7474
return Neo4jDriver::create($uri, $configuration, $authenticate);
7575
}
76-
77-
/**
78-
* @template U
79-
*
80-
* @param FormatterInterface<U> $formatter
81-
*
82-
* @return (
83-
* func_num_args() is 4
84-
* ? DriverInterface<U>
85-
* : DriverInterface<OGMResults>
86-
* )
87-
*
88-
* @pure
89-
*/
90-
private static function createHttpDriver(string|UriInterface $uri, ?DriverConfiguration $configuration, ?AuthenticateInterface $authenticate, ?FormatterInterface $formatter = null): DriverInterface
91-
{
92-
if ($formatter !== null) {
93-
return HttpDriver::create($uri, $configuration, $authenticate, $formatter);
94-
}
95-
96-
return HttpDriver::create($uri, $configuration, $authenticate);
97-
}
9876
}

0 commit comments

Comments
 (0)