@@ -46,7 +46,7 @@ final class DriverFactory
46
46
* : DriverInterface<OGMResults>
47
47
* )
48
48
*/
49
- public static function create (string |UriInterface $ uri , ?DriverConfiguration $ configuration = null , ?AuthenticateInterface $ authenticate = null , FormatterInterface $ formatter = null , ?string $ logLevel = null , ?LoggerInterface $ logger = null ): DriverInterface
49
+ public static function create (string |UriInterface $ uri , ?DriverConfiguration $ configuration = null , ?AuthenticateInterface $ authenticate = null , ? FormatterInterface $ formatter = null , ?string $ logLevel = null , ?LoggerInterface $ logger = null ): DriverInterface
50
50
{
51
51
if (is_string ($ uri )) {
52
52
$ uri = Uri::create ($ uri );
@@ -77,7 +77,7 @@ public static function create(string|UriInterface $uri, ?DriverConfiguration $co
77
77
* : DriverInterface<OGMResults>
78
78
* )
79
79
*/
80
- private static function createBoltDriver (string |UriInterface $ uri , ?DriverConfiguration $ configuration , ?AuthenticateInterface $ authenticate , FormatterInterface $ formatter = null ): DriverInterface
80
+ private static function createBoltDriver (string |UriInterface $ uri , ?DriverConfiguration $ configuration , ?AuthenticateInterface $ authenticate , ? FormatterInterface $ formatter = null ): DriverInterface
81
81
{
82
82
if ($ formatter !== null ) {
83
83
return BoltDriver::create ($ uri , $ configuration , $ authenticate , $ formatter );
@@ -97,7 +97,7 @@ private static function createBoltDriver(string|UriInterface $uri, ?DriverConfig
97
97
* : DriverInterface<OGMResults>
98
98
* )
99
99
*/
100
- private static function createNeo4jDriver (string |UriInterface $ uri , ?DriverConfiguration $ configuration , ?AuthenticateInterface $ authenticate , FormatterInterface $ formatter = null ): DriverInterface
100
+ private static function createNeo4jDriver (string |UriInterface $ uri , ?DriverConfiguration $ configuration , ?AuthenticateInterface $ authenticate , ? FormatterInterface $ formatter = null ): DriverInterface
101
101
{
102
102
if ($ formatter !== null ) {
103
103
return Neo4jDriver::create ($ uri , $ configuration , $ authenticate , $ formatter );
@@ -119,7 +119,7 @@ private static function createNeo4jDriver(string|UriInterface $uri, ?DriverConfi
119
119
*
120
120
* @pure
121
121
*/
122
- private static function createHttpDriver (string |UriInterface $ uri , ?DriverConfiguration $ configuration , ?AuthenticateInterface $ authenticate , FormatterInterface $ formatter = null ): DriverInterface
122
+ private static function createHttpDriver (string |UriInterface $ uri , ?DriverConfiguration $ configuration , ?AuthenticateInterface $ authenticate , ? FormatterInterface $ formatter = null ): DriverInterface
123
123
{
124
124
if ($ formatter !== null ) {
125
125
return HttpDriver::create ($ uri , $ configuration , $ authenticate , $ formatter );
0 commit comments