@@ -20,7 +20,7 @@ |
||
20 | 20 | ?string $keyspace = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ' |
21 | 21 | ): string { |
22 | 22 | $str = ''; |
23 | - $keysize = strlen($keyspace) - 1; |
|
23 | + $keysize = strlen($keyspace)-1; |
|
24 | 24 | for ($i = 0; $i < $length; ++$i) { |
25 | 25 | $randomKeyPosition = random_int(0, $keysize); |
26 | 26 | $str .= $keyspace[$randomKeyPosition]; |
@@ -72,7 +72,7 @@ discard block |
||
72 | 72 | { |
73 | 73 | $nodeString = '(' . $this->getAlias(); |
74 | 74 | if ($this->alias !== null) { |
75 | - // $nodeString .= $this->alias; |
|
75 | + // $nodeString .= $this->alias; |
|
76 | 76 | } |
77 | 77 | if ($this->label !== null) { |
78 | 78 | $nodeString .= ':' . $this->label . ' '; |
@@ -86,7 +86,7 @@ discard block |
||
86 | 86 | |
87 | 87 | private function getProps(iterable $properties): string |
88 | 88 | { |
89 | - $props = ''; |
|
89 | + $props = ''; |
|
90 | 90 | foreach ($properties as $propKey => $propValue) { |
91 | 91 | if ($props !== '') { |
92 | 92 | $props .= ', '; |
@@ -44,7 +44,7 @@ |
||
44 | 44 | |
45 | 45 | public function explain(QueryInterface $query): string |
46 | 46 | { |
47 | - $response = $this->runCommand( |
|
47 | + $response = $this->runCommand( |
|
48 | 48 | Explain::createCommandWithArguments($query) |
49 | 49 | ); |
50 | 50 | return implode(' ', $response); |
@@ -36,7 +36,7 @@ |
||
36 | 36 | $edgeCount = count($this->edges); |
37 | 37 | foreach ($this->edges as $index => $edge) { |
38 | 38 | $query .= $edge->toString(); |
39 | - if ($index < $edgeCount - 1) { |
|
39 | + if ($index < $edgeCount-1) { |
|
40 | 40 | $query .= ', '; |
41 | 41 | } |
42 | 42 | } |