@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | * UNIX ENDPOINT: unix:///tmp/arangodb.sock |
34 | 34 | * Failover ENDPOINTS: ['tcp://127.0.0.1:8529', 'tcp://127.0.0.1:8529'] |
35 | 35 | */ |
36 | - protected string|array $endpoint = 'tcp://127.0.0.1:8529'; |
|
36 | + protected string | array $endpoint = 'tcp://127.0.0.1:8529'; |
|
37 | 37 | |
38 | 38 | protected string $connection = 'Keep-Alive'; // enum{'Close', 'Keep-Alive'} |
39 | 39 | |
@@ -83,12 +83,12 @@ discard block |
||
83 | 83 | return $this; |
84 | 84 | } |
85 | 85 | |
86 | - public function getEndpoint(): string|array |
|
86 | + public function getEndpoint(): string | array |
|
87 | 87 | { |
88 | 88 | return $this->endpoint; |
89 | 89 | } |
90 | 90 | |
91 | - public function setEndpoint(string|array $endpoint): Config |
|
91 | + public function setEndpoint(string | array $endpoint): Config |
|
92 | 92 | { |
93 | 93 | $this->endpoint = $endpoint; |
94 | 94 | return $this; |